Description Usage Arguments Value Examples
Writes an ASCII text representation of an R object to a character string, or uses one to recreate the object. If applying this function to a data.frame, it will do this on each rows of given columns, and also transform columns between datetime and character.
1 2 3 4 |
x |
An ojbect or a data.frame. |
mutate |
If |
vars, vars.time |
A list of columns generated by |
tz |
a character string that specifies which time zone to parse the date with. The string
must be a time zone that is recognized by the user's OS. If |
Transformed object.
1 2 3 4 5 6 | s <- flightscanner:::ListUnpack(LETTERS)
flightscanner:::ListPack(s)
d <- flightscanner:::ListUnpack(iris, mutate = TRUE, vars = "Species")
d <- flightscanner:::ListPack(d, mutate = TRUE, vars = "Species")
d$Species <- unlist(d$Species)
head(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.