View source: R/DiverseFunksjoner.R
unAsIs | R Documentation |
Getting rid of 'AsIs' class attribute
unAsIs(X)
X |
Notice that I take care to preserve any other class attributes that the vector might have.
X without 'AsIs'
The function is taken from http://stackoverflow.com/questions/12865218/getting-rid-of-asis-class-attribute
Verena Haunschmid
class(I(TRUE))
class(unAsIs(I(TRUE)))
class(data.frame(x=I(matrix(1:12,3,4)))$x)
class(unAsIs(data.frame(x=I(matrix(1:12,3,4)))$x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.