check_data: Check the Data

View source: R/04_tools.R

check_dataR 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.


joker documentation built on June 8, 2025, 12:12 p.m.