knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(relper) library(dplyr)
as_
functions coerce values to another type.
The goal of as_num
is to be a more generalized version of as.numeric
, where the input is a string with numbers and marks, such as "10.000,02".
as_num("123.456,78")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.