Learn R Programming

DistributionIV (version 0.1.2)

check_input: 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)

Value

A numeric matrix corresponding to the input data frame.

Arguments

input

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