fitmetric_check: Convert fitmetric arguments to matrices.

Description Usage Arguments Value Examples

Description

Checks classes of fitmetric arguments and converts them to matrices if they are not already.

Usage

1

Arguments

x

a vector of class numeric or integer or a numeric matrix

y

a vector of class numeric or integer or a numeric matrix

Value

a list containing x, y, N(number of rows), and dof(number of columns)

Examples

1
2
vlist <- fitmetric_check(runif(100000),runif(100000))
mlist <- fitmetric_check(matrix(rnorm(10000),ncol=10),matrix(rnorm(10000),ncol=10))

gofMC documentation built on May 2, 2019, 5:55 a.m.