R/Statistic.R

Statistic <- R6::R6Class("Statistic",
    public = list(
        # Compute statistic for a vector of measures.
        compute = function(measures_vector, ...) {
            stop(.__ERRORS__$not_implemented)
        },

        # Apply statistic to a matrix of measures.
        apply = function(measures_matrix, ...) {
            stop(.__ERRORS__$not_implemented)
        }
    )
)

Try the powerly package in your browser

Any scripts or data that you put into this service are public.

powerly documentation built on Sept. 9, 2022, 5:07 p.m.