Learn R Programming

gofMC (version 1.1.2)

pcdfs: Construct pdf and cdf for one of several distributions and one of several possible noise distributions

Description

Generates the vectors of random numbers for both observation and model and calls pcdfs

Usage

pcdfs(dof, order = 5, ndecimals = 2, dist = rnorm, fitmetric = R2, ...)

Arguments

dof
an integer
order
a real number
ndecimals
an integer
dist
a random number distribution function
fitmetric
a character string naming a standard fit metric (R2, rmse, or user-defined)
...
any argument that functions within this routine might use

Value

a data frame

Examples

Run this code
pcdfs(5, order=5)
pcdfs(10, order=4, fitmetric=rmse)

Run the code above in your browser using DataLab