Description Usage Arguments Value Examples
Gadget files often contain information about a number of components that are
divided by a regular expression (often [component]
). gf2list
converts the direct output from, say, a readLines(x)
call into a list
that can be named
1 |
x |
Vector of character vectors of a raw Gadget file |
split |
Regular expression to split by |
list_names |
Optional. If |
A list of components from a Gadget file
1 2 3 4 | path <- system.file(gad_mod_dir, package = "gadgetSim")
raw_lik <- readLines(paste(path, "likelihood", sep = "/"))
gf2list(raw_lik)
gf2list(raw_lik, list_names = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.