PeirceLimits: Plot limits of Peirce's function

Description Usage Arguments Value Note See Also Examples

View source: R/PeirceLimits.R

Description

Produces 3d plots using rgl (rotatable) and scatterplot3d which gives values of R for various values of N and m. R is the maximum allowable absolute error for a value in a vector of observations. N is the number of observations (length of vector). m, the ‘number of unknown quantities’, may be treated as the number of independent processes giving rise to errors in the vector.

Usage

1
PeirceLimits(N=1000L, plots=TRUE, noPoints=100)

Arguments

N

is the number of observations (length of vector)

plots

if TRUE then will display 3d plots

noPoints

no of intervals into which to divide k and n. Defaults to 100, corresponding to 100% of N. Larger values will give a more detailed resolution for the plotted image. Set to the same value as N to generate results for every combination of k and m up to N

asPercent

if TRUE then will display returned values of k and m as percentages of N

Value

3d plots with rgl and scatterplot3d. A dataframe with value of R for a given combination of k and m.

Note

This can take some time to run for large values of N e.g. >10000.

See Also

Peirce

Examples

1
## Not run: PeirceLimits()

Peirce documentation built on May 2, 2019, 5 p.m.