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

Description Usage Arguments Value See Also

Description

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

Usage

1
2
3
4
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. Defaults to the name of the calling function.

control

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

Value

The control list with class set.

See Also

check.control.class, print.control.list



Search within the statnet.common package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.