name.nice.lsd | R Documentation |
This function produces a nicer variable name from R initial column name conversion, in particular removing leading underscores.
name.nice.lsd( r.name )
r.name |
a string, a vector of strings, or an object which can be coerced to a character vector by |
The function removes the extra/ending '.' characters introduced by R and introduces a '_' between time span values and deletes leading underscores ('_'), converted to 'X_' by R.
A string or a string vector with the same attributes as x (after possible coercion) and the format NAME[.POSITION.INI_END]
.
Marcelo C. Pereira
name.var.lsd()
,
name.clean.lsd()
,
info.names.lsd()
name.nice.lsd( "X_Var1.1_1..1.100." )
name.nice.lsd( c( "_Var1.1_1..1.100.", "X_Var2.1_2_3..50.70." ) )
name.nice.lsd( c( "_Var1", "X_Var2" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.