Learn R Programming

hdMTD (version 0.1.1)

checkSample: Checks a sample

Description

Checks if a sample is a suitable argument for some functions within the package.

Usage

checkSample(X)

Value

Returns the sample as a vector or identifies any possible sample problems.

Arguments

X

A vector, a single-column data frame, a list, or a matrix with a single row or a single column. Must be composed by nonnegative integers.