to_number | R Documentation |
Convert a vector to 'number' using the specified schema
to_number(x, schema = list(), decimalChar = ".", ...)
x |
the vector to convert. |
schema |
the field schema for the field. |
decimalChar |
decimal separator. Used when the field schema does not specify a decimal separator. |
... |
passed on to other methods. |
When schema
is missing a default schema is generated using
complete_schema_number
.
Will return an numeric
vector with schema
added as the 'schema'
attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.