View source: R/MixedModelDataExplore.R
MixedModelDataExplore | R Documentation |
To explore the dependent variable (usually continuous variable) with normal distribution test, QQ plot, boxplot, skewness and so on.
MixedModelDataExplore(Data, DV, DVLog = F, Cond, DeleteCriterion = c(80,1000))
Data |
Data that you want to summary. This data should contain the variables that you put into the function. |
DV |
The name of dependent variable. A character vector. |
DVLog |
Whether to perform the log-transform. A logical vector. |
Cond |
The name of variable on which the DV is explored. A character vector. If you have more than one conditions, please input them as one character element via collapsing them by comma. |
DeleteCriterion |
Whether to delete the outlier of DV. If you dont want to delete, set it as NULL. Otherwise, set the minimal and miximal value to filter (default value is c(80, 1000), which means to remain the trial in the range from 80 to 1000). |
All plots will be saved in one PDF file existing in your working directory.
This function will return the filtered data, if you have set the parameter DeleteCriterion.
## Example :
A = MixedModelDataExplore(Data = DemoData, DV = 'DV', DVLog = T, Cond = 'CondA, CondB',DeleteCriterion = c(80,800))
A
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.