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

Description Usage Arguments Value Note See Also

View source: R/control.utilities.R

Description

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

Usage

1
2
3
set.control.class(myname = {     sc <- sys.calls()    
  as.character(sc[[length(sc) - 1]][[1]]) }, control = get("control", pos =
  parent.frame()))

Arguments

myname

Name of the class to set.

control

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

Value

The control list with class set.

Note

In earlier versions, OKnames and myname were autodetected. This capability has been deprecated and results in a warning issued once per session. They now need to be set explicitly.

See Also

check.control.class, print.control.list


statnet.common documentation built on Aug. 16, 2017, 5:04 p.m.