Learn R Programming

RDS (version 0.9-9)

set.control.class: Set the class of the control list

Description

This function sets the class of the control list, with the default being the name of the calling function.

Usage

set.control.class(
  myname = as.character(RDS::ult(sys.calls(), 2)[[1L]]),
  control = get("control", pos = parent.frame())
)

Value

The control list with class set.

Arguments

myname

Name of the class to set.

control

Control list. Defaults to the control variable in the calling function.

See Also

check.control.class, print.control.list