View source: R/getTheDeviation.R
getTheDeviation | R Documentation |
Calculate deviations between observations and expectations.
getTheDeviation(
theData,
theExpectPoint,
theCategory,
theDim,
RandomReplaceRatio = 0.5,
maxBoot = 200,
theCompare = "upper",
theAlt = "less",
theSig = 0.05,
tempPrint = "",
ifItem = FALSE,
theCompareItem = "upper",
theAltItem = "less",
theSigItem = 0.05
)
theData |
The prepared data matrix. |
theExpectPoint |
The expectation list. |
theCategory |
The Calculated Category. |
theDim |
The Calculated Dimensions. |
RandomReplaceRatio |
Decimal between 0 and 1. |
maxBoot |
The maximum steps of bootstrap. |
theCompare |
= 'between', 'lower', 'upper', 'mean' |
theAlt |
= 'two.sided', 'greater', 'less' |
theSig |
= 0.05 |
tempPrint |
= ” |
ifItem |
= FALSE, calculate the items when TRUE. |
theCompareItem |
= 'between', 'lower', 'upper', 'mean' |
theAltItem |
= 'two.sided', 'greater', 'less' |
theSigItem |
= 0.05 |
The function returns a list.
## Not run:
theDeviation <- getTheDeviation(theData, theExpectPoint, theCategory, theDim)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.