View source: R/qedata_classes.R
| as.qe.metadata | R Documentation |
This function converts a vector to the 'qe.metadata' class. If the vector is a factor, it is first converted to a character vector.
as.qe.metadata(x)
x |
A vector. The vector to be converted to 'qe.metadata' class. |
The modified vector with the 'qe.metadata' class.
vec <- factor(c("A", "B", "C"))
vec <- as.qe.metadata(vec)
class(vec) # Should show 'qe.metadata' along with other classes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.