EM: Expectation-maximization algorithm for ecological REF data

Description Usage Format Methods Examples

Description

Based on an R6 class.

Usage

1

Format

An R6Class generator object

Methods

example_method(parameter_1 = 3)

This method uses parameter_1 to...

Examples

 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)

Selbosh/ref2014 documentation built on Nov. 15, 2019, 4:27 a.m.