h2c | R Documentation |
Convert html entities to character or vice versa.
h2c(x, to_html = FALSE)
c2h(x)
x |
a character or factor vector |
to_html |
logical; if |
x <- c('<', '>', '≤', '+-', '+/-')
c2h(x)
c2h(factor(x))
h2c(c2h(x)) == x
h2c(c('Β', 'β'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.