checkSample {hdMTD}R Documentation

Checks a sample

Description

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

Usage

checkSample(X)

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.

Value

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


[Package hdMTD version 0.1.0 Index]