Question: Part B - Performing an ANOVA in R - Effect of ventilation on blood folate levels Several studies have been published to show that nitrous
Part BPerforming an ANOVA in Effect of ventilation on blood folate levels
Several studies have been published to show that nitrous oxide used in anesthetics can reduce patient
blood folate levels. This dataset gives measured levels of folate in red blood cells in patients who
received three different methods of ventilation while under anesthesia. The first column in the dataframe,
ventilation, is a categorical variable or "factor" containing one of the three ventilation methods for
each patient:
The second column in the dataframe, is a numerical variable, folate, which is the folate concentration
for each patient. This dataset is from the "ISwR" library of datasets available in the ISwR package
at
wwwrproject.org.
Procedure
First, change the directory in under the File menu to wherever you saved the "redcell" file.
Then read in this data set using the load command in Type the following command:
loadredcell.RData"
Alternatively, you can have open a file browser window as follows:
loadfilechoose
Once you've read in the data set, you can access the two data vectors in this data frame using the $
command ie redcell$ventilation and redcell$folate or you can make the
individual data vectors available using the command:
attach redcell
After this command you can access the data vectors just as ventilation and folate
Make boxplots and stripcharts of this dataset using the following commands:
boxplotfolate ventilation
stripchartfolate ventilation
paste a copy of your boxplot here
paste a copy of your stripchart here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
