read_string | R Documentation |
Membaca data.frame dari string
read_string(s, col_names = NULL, header = FALSE, tranpose = FALSE, ...)
s |
string |
col_names |
nama kolom yang diigninkan, default adalah V1, V2 ... |
header |
logical. apakah data.frame menggandung header |
tranpose |
logical. apakah perlu tranpose |
... |
parameter untuk |
data.frame
s1 <- "A 112 20 YY 18 10 XX 15 15 DD 25 28" read_string(s1) read_string(s1, header = TRUE) read_string(s1, tranpose = TRUE, header = FALSE) read_string(s1, tranpose = TRUE, header = TRUE, col_names = LETTERS[1:4]) read_string(s1, tranpose = TRUE, col_names = letters[1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.