check.datafunction: Check function: passing data to function

View source: R/checks.R

check.datafunctionR Documentation

Check function: passing data to function

Description

This function checks whether there will be any error if an object of class data.frame is passed to the user-defined function.

Usage

check.datafunction(data, f, lpmodel.comp)

Arguments

data

The data object in the class data.frame.

f

A user-defined function in lpmodel.

lpmodel.comp

The name of the lpmodel object.

Details

An error message will be displayed.

Value

Nothing is returned.


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