View source: R/control.utilities.R
control.remap | R Documentation |
Given a control.list
, and two prefixes, from
and to
,
overwrite the elements starting with to
with the corresponding
elements starting with from
.
control.remap(control, from, to)
control |
An object of class |
from |
Prefix of the source of control parameters. |
to |
Prefix of the destination of control parameters. |
An control.list
object.
Pavel N. Krivitsky
print.control.list
(l <- set.control.class("test", list(a.x=1, a.y=2)))
control.remap(l, "a", "b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.