.renameDF | R Documentation |
Rename data.frame columns by key-value pairs in rnames
.renameDF(df, rnames)
df |
data.frame |
rnames |
named character vector; |
df with new colnames; or NULL on error
Internal function only for convenience
nodes = data.frame(id=c(0,1,2), name=c("CDK1",NA,"CDK3"), represents=c(NA,"bla",NA)) rnames = c(id="@id", name="n", represents="r") RCX:::.renameDF(nodes, rnames)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.