Description Usage Arguments Value
Given an input data.frame
, the specified column will be converted to
numeric values. This is a wrapper for as.numeric(as.factor(df$col))
,
or as.numeric(cdf$col) for boolean columns.
1 |
df |
A |
col |
The name (as a string) of the column to be converted |
The transformed data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.