View source: R/text_to_table.R
text_to_table | R Documentation |
text_to_table() can take unstructure text, and turn into a long table. It was design to take Mplus variable section and produce a table where the second column is each of the included variables. However, this function could be use for other purposes.
text_to_table(x)
x |
a text input |
data frame where column one is the position of all variables, and the second column contain all the terms from the text input.
text_input <- "
IDCNTRY COUNTRY IDSTUD IDCLASS IDSCHOOL
IS2G05 IS2G07 IS2G09 IS2G10A IS2G10B
id_i id_k id_s id_j
"
text_to_table(text_input)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.