check_input: Check and Preprocess Input Data

View source: R/checkinput.R

check_inputR Documentation

Check and Preprocess Input Data

Description

This function checks whether input data is a data frame, matrix, vector, or factor variable, and converts it to a numeric matrix.

Usage

check_input(input)

Arguments

input

A data frame, matrix, vector, or factor variable to be converted to a numeric matrix.

Value

A numeric matrix corresponding to the input data frame.


DistributionIV documentation built on Sept. 9, 2025, 5:52 p.m.