check_data {joker}R Documentation

Check the Data

Description

This function checks that the data argument supplied by the user for parameter estimation are of the appropriate type.

Usage

check_data(x, na.rm = FALSE)

Arguments

x

an object to be checked. Should be vector, matrix, or array.

na.rm

logical. Should the NA values be removed?

Value

The object x, possibly without NA values if x is a vector containing NA values and na.rm = TRUE.


[Package joker version 0.14.2 Index]