Learn R Programming

Rgof (version 3.2.0)

check.functions: This function checks whether the inputs have the correct format

Description

This function checks whether the inputs have the correct format

Usage

check.functions(pnull, rnull, phat = function(x) -99, vals, x)

Arguments

pnull

cdf under the null hypothesis

rnull

routine to generate data under the null hypothesis

phat

=function(x) -99, function to estimate parameters from the data, or -99

vals

vector of discrete values

x

data