as.numeric_noDataLost | R Documentation |
Change data type to numeric if no data is lost
as.numeric_noDataLost(x, warning = FALSE)
x |
a variable of type |
warning |
if 'TRUE', throw a warning indicating which values can not be casted to numeric. |
returns the same variable as a numeric type only if there is no data lost. For data.frame
and list
,
it change the data type per column/element.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.