Description Usage Arguments Value Examples
renVar
rename variables in a object keeping the rest of the object intact.
This method returns the input object with the specified variable names in the input parameter
VarNames
renamed with the names in the input parameter NewVarNames
. Variables are
renamed in all slots. Old names are dropped out.
1 2 3 4 |
object |
Input object of class StQ. |
VarNames |
Character vector with the variable names to be renamed. |
NewVarNames |
Character vector with the new variable names. |
Object with the same class as the input object and all specified variable names duly renamed in all slots.
1 2 | data(ExampleStQ)
renVar(ExampleStQ, 'Stocks', 'NewStocks')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.