Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please solve in R Studio. ( 7 pts ) Plot the time series of average monthly temperature and sunshine with months ( directly plot the
Please solve in R Studio. pts Plot the time series of average monthly temperature and sunshine with months directly plot the values given in the Average column with months Plot separate legends for MERRA and NARR on the same plot. Provide axis labels, titles, and legends. Comment on the seasonal variation of these climatic factors. Hints: Please do not copy paste from here to create an index. These steps are for your references only. You can consult the video lectures to learn about the syntax. a Clear your console and environment. b Set up working directory and read your file. c Create an index for where Station MERRA & factor temperature. d Repeat same steps for other three requirements. i Station MERRA & factor sunshine. ii Station NARR & factor temperature. iii. Station NARR & factor sunshine. e Using these indices extract the data from column named as "Monthly Average". f Plot the extracted columns with months. For simplicity you can plot the months as : on xaxis. Provide all labels and put limits on axis. g Use parnewTRUE and create plot for NARR over the previous plot. Remember to put your axis and labels as blank. xlab ylab Put the same limits for y axis in both plots. Put legend h In total you need to create two plot as: i Plot : Station MERRA & factor temperature and Station NARR & factor temperature ii Plot : Station MERRA & factor sunshine and Station NARR & factor sunshine Your plots should look like above plots.
Please solve in R Studio. pts Plot the time series of average monthly temperature and sunshine with months directly
plot the values given in the Average column with months Plot separate legends for MERRA and
NARR on the same plot. Provide axis labels, titles, and legends. Comment on the seasonal
variation of these climatic factors.
Hints: Please do not copy paste from here to create an index. These steps are for your references
only. You can consult the video lectures to learn about the syntax.
a Clear your console and environment.
b Set up working directory and read your file.
c Create an index for where Station MERRA & factor temperature.
d Repeat same steps for other three requirements.
i Station MERRA & factor sunshine.
ii Station NARR & factor temperature.
iii. Station NARR & factor sunshine.
e Using these indices extract the data from column named as "Monthly Average".
f Plot the extracted columns with months. For simplicity you can plot the months as :
on xaxis. Provide all labels and put limits on axis. g Use parnewTRUE and create plot for NARR over the previous plot. Remember to put
your axis and labels as blank. xlab ylab Put the same limits for y axis in both plots.
Put legend
h In total you need to create two plot as:
i Plot : Station MERRA & factor temperature and Station NARR & factor
temperature
ii Plot : Station MERRA & factor sunshine and Station NARR & factor
sunshine
Your plots should look like above plots.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started