Description Usage Arguments Value Examples
Format data for plots
1 2 | dataFormat(x, measurevar = "residuals", categories = c(subject = "sub", time
= "isi", type = "type", group = "music"))
|
x |
data frame to format |
measurevar |
dependent variable we are calculating values for |
categories |
list of grouping variables |
subject |
name of subject id |
time |
grouping variable for time (ie. isi) |
type |
grouping variable for stimulus type |
group |
grouping variable for experimental group |
correctly formatted data frame with means for each subject in each category
1 | dataFormat(x,measurevar="residuals",categories=c(subject="sub",time="isi",type="type",group="music"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.