Learn R Programming

inaparc (version 1.2.0)

is.inaparc: Checking the object class for ‘inaparc’

Description

Checks whether the given object is an instance of the inaparc class.

Usage

is.inaparc(x)

Arguments

x

an object to check.

Value

TRUE if x is a valid inaparc object and FALSE for the other type of object classes.

See Also

crsamp, inofrep, inscsf, insdev, kkz, kmpp, ksegments, ksteps, lastk, lhsrandom, lhsmaximin, mscseek, rsamp, rsegment, scseek, scseek2, ssamp, topbottom, uniquek, ursamp

Examples

Run this code
# NOT RUN {
data(iris)
res <- firstk(x=iris[,1:4], k=5)
is.inaparc(res)

x <- c(1,5,8)
is.inaparc(x)
# }

Run the code above in your browser using DataLab