getThePercent: Step Percent of Random Replacement Deviation

View source: R/getThePercent.R

getThePercentR Documentation

Step Percent of Random Replacement Deviation

Description

Step by step list the proportionally random expectation deviations.

Usage

getThePercent(
  theData,
  theExpectPoint,
  theCategory,
  theDim,
  theStep = c(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1),
  maxBoot = 1000,
  theCompare = "upper",
  theAlt = "less",
  theSig = 0.05,
  ifItem = FALSE,
  theCompareItem = "upper",
  theAltItem = "less",
  theSigItem = 0.05
)

Arguments

theData

The prepared data matrix.

theExpectPoint

The expectation list.

theCategory

The Calculated Category.

theDim

The Calculated Dimensions.

theStep

An array of random replacement ratio.

maxBoot

The maximum steps of bootstrap.

theCompare

= 'between', 'lower', 'upper', 'mean'

theAlt

= 'two.sided', 'greater', 'less'

theSig

= 0.05

ifItem

= FALSE, calculate the items when TRUE.

theCompareItem

= 'between', 'lower', 'upper', 'mean'

theAltItem

= 'two.sided', 'greater', 'less'

theSigItem

= 0.05

Value

The function returns a list.

Author(s)

zdx, zhaodexuan@aliyun.com

Examples

## Not run: 
thePercent <- getThePercent(theData, theExpectPoint, theCategory, theDim)

## End(Not run)


zhaodexuan/NERF documentation built on Aug. 1, 2023, 1:18 a.m.