Description Usage Arguments Value Examples
View source: R/convertNamedVectorToMetricDF.R
Converts a named vector to a metric data.frame. The names should be the site
identifiers, and the deparsed name of the the argument x
, becomes the
metric name.
1 2 3 |
x |
a named vector |
a 'metric' data.frame
1 2 | my_metric <- c('uid1' = 0.1, 'uid2' = 0.2, 'uid3' = 0.3)
convertNamedVectorToMetricDF(my_metric)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.