MixedModelDataExplore: Data Explore

View source: R/MixedModelDataExplore.R

MixedModelDataExploreR Documentation

Data Explore

Description

To explore the dependent variable (usually continuous variable) with normal distribution test, QQ plot, boxplot, skewness and so on.

Usage

MixedModelDataExplore(Data, DV, DVLog = F, Cond, DeleteCriterion = c(80,1000))

Arguments

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).

Details

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.

Examples

## Example :
A = MixedModelDataExplore(Data = DemoData, DV = 'DV', DVLog = T, Cond = 'CondA, CondB',DeleteCriterion = c(80,800))
A

usplos/YawMMF documentation built on July 12, 2024, 1:35 a.m.