Description Usage Arguments Details Value Note Author(s) References Examples
Examines three variations of the given data: the original set, the square root of values in the set, and the log of the values in the set to determine which is most normal by IQR/SD. Also plots data
1 | DistMod(observation, treatments)
|
observation |
Set of numeric values to be evaluated |
treatments |
Set of factors by which to separate observation |
This evaluates either a single vector or a vector separated by provided factors
For less than two factors the function returs three values and an arrow to the most normal (whichever is closest to 1.34), for 2 or more factors, it returns the three values for each set of observations by factor.
Original |
The IQR/SD for the original data |
Square root |
The IQR/SD for the square root of the data |
Log |
The IQR/SD for the log of the data |
Boxplot |
|
Histogram |
Written for MAT 342 Spring 2019
Frederick Kaesmann Jr
My github -> https://github.com/ftkjr/SummaryPack
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## No treatment variables
data("CO2")
DistMod(CO2$uptake)
####
## treatment with multiple factors
HairEyeColor <- as.data.frame(data("HairEyeColor"))
DistMod(HairEyeColor$Freq, HairEyeColor$Eye)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.