SOCR ≫ | DSPA ≫ | Topics ≫ |
You should be able to download and load in RStudio the Foundations of R code. Then run all the examples.
Load in the long-format SOCR Parkinson’s Disease data and export it as wide format. You can only do 5 variables you choose (not all), but note that there are several time observations for each subject. You can try using the reshape
command.
Create a Data Frame of the SOCR Parkinson’s Disease data and compute a summary of 3 features you select.
Using the same SOCR Parkinson’s Disease data:
L_caudate_ComputeArea<600
.L_caudate_Volume
.Gender
and Age
.Age
and the correlation between Age
and Weight
.R_fusiform_gyrus_Volume
and scatterplot L_fusiform_gyrus_Volume
and R_fusiform_gyrus_Volume
.Note: You don’t have to apply these data filters sequentially, but this can also be done for deeper stratification.
Generate 1,000 standard normal variables and 1,200 Cauchy distributed random variables and generate a quantile-quantile (Q-Q) probability plot of the pair of samples.
Generate an R
function that computes the arithmetic average and compare it against the mean()
function.