check.lpobjects: Check function: matrices and vectors in 'lpmodel'

View source: R/checks.R

check.lpobjectsR Documentation

Check function: matrices and vectors in lpmodel

Description

This function checks if the matrix objects in lpmodel are in the correct format.

Usage

check.lpobjects(data, mat, mat.name, mat.cat, R)

Arguments

data

An data frame or a matrix.

mat

The matrix object in lpmodel.

mat.name

The name of the matrix object in lpmodel.

mat.cat

The category of the matrix object.

R

The number of bootstrap replications.

Details

See the details section for the function check.lpmodel for more details of each category.

Value

Returns two objects:

mat

The updated object in lpmodel.

sample

A sample object that is used to compare the dimension.


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.