BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Ksharp
Super User
proc import datafile='C:\Users\xiakeshan\Documents\Downloads\dtr.xlsx' out=have dbms=xlsx replace;
run;



data one;
set have;
if strip(Variety)='GEM' then Variety='  GEM';
DTR=input(DTR__days_to_ripe_,best.);
run;



proc sgpanel data=one ; 
styleattrs datacolors=(red blue) datacontrastcolors=(red  blue) ;
where Season in(2021, 2022, 2023) and Harvest__month_ in(1,3,4,5,6,8) and  strip(Variety) in ('GEM','Hass');
panelby Season/rows=1 onepanel ;
vline Harvest__month_/response=DTR group=Variety grouporder=ascending markers markerattrs=(symbol=circlefilled) TRANSPARENCY=0 stat=mean ;
rowaxis values=(0 to 12 by 2) ;
run;

Ksharp_0-1748243108937.png

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 15 replies
  • 3638 views
  • 6 likes
  • 3 in conversation