View source: R/dModFrameClass.R
| checkout_hypothesis | R Documentation | 
Load one row of a dMod.frame into the .GlobalEnv
checkout_hypothesis(dMod.frame, hypothesis, prefix = "", suffix = "")
dMod.frame | 
 A dMod.frame  | 
hypothesis | 
 character or numeric. specifying the name or the index of the hypothesis  | 
prefix | 
 Prefix appended to the object names in .GlobalEnv  | 
suffix | 
 Suffix appended to the object names in .GlobalEnv  | 
testframe <- dplyr::tibble(hypothesis = c("linear", "quadratic"),
                    plots = list(plot(1:10,1:10), plot(1:10,(1:10)^2)),
                    myfun = list(function(x,a) {a * x}, function(x,a) {a * x^2}),
                    a = c(1:2))
checkout_hypothesis(testframe, "quadratic", prefix = "quad")
quadplots
quadmyfun(1:10, quada)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.