View source: R/sfclassic_general.R
expand_stcvs | R Documentation |
This function takes a tibble having stanford classic variable values, and expands these to single observations in a tibble (ala data frame) All stanford variables in the input tibble should preferably have equal number of observations.
expand_stcvs(tibbl)
tibbl |
a tibble having one row and any number of columns. Each single 'tibbl[1,j]' is a string containing zero, one, or multiple variable values, and where text variables are preceded by a newline and where numeric variables are separated by a space |
a tibble, equal number of variables as input tibble.
stanford_classic_variable_strings <-
tibble::tibble(speciescode = "1 2 3", speciesname = "\nspruce\npine\nbirch")
expand_stcvs (stanford_classic_variable_strings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.