Description Usage Format Methods Examples
Based on an R6 class.
1 |
An R6Class
generator object
example_method(parameter_1 = 3)
This method uses parameter_1
to...
1 2 3 4 5 6 7 8 9 10 11 | # See strength.Rmd to generate the dataset.
## Not run:
trials <- select(dataset, inst, journal, ntrials) %>% mutate_if(is.factor, as.character)
totals <- dataset %>% group_by(inst) %>% summarise(total = sum(success))
set.seed(1)
test <- EM$new(trials, totals, 2)
test$run(100)
test$iterations
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.