Hello my name is Nartlada, i would like to know how can i create the histograms from the number of the excel file. The question is asking "create histograms illustrating the distributions of the two temperature variables (T1 and T2). correctly the label the x and y axes and give your plot title. We are required to use R program that include the set working directory. I tried to drag the excel file to here or even drag just the table information because all the questions that i have are depend on these files.However, it's not allowed me since it said that my question is too long. Can you please give me some suggestions on how can i deal with it. Thank you so much.
The first step is to recall the excel file data in to R by the code,
Then run this we can see a dialogue box in the taskbar below
Click on it and select which data you need to export into R.
Then in order to plot the histogram of the corresponding data d,use the code
H= hist(d,main="title name", xlab=" name of variable in x axis", ylab=" name of the variable in y axis", probability="TRUE")
Probability = "TRUE" for plotting the distribution
Xlab and ylab for labelling the axes names.
I believe that you got the clarification, if any doubts please ask in the comment section.
Get Answers For Free
Most questions answered within 1 hours.