Skip to contents

This function computes the sample based effect size of the simulated data.

Arguments

dat

Dataframe. The number of rows of the data frame will be used.

a

Numeric. Default is a = self$prm$a.

b

Numeric. Default is b = self$prm$b.

type

Character. Type of the effect size. Default is type = NULL.

Value

A single numeric value.

Examples


mod <- heter_model(a = 0, b = 16)
mod$sample_effect_size(mod$gen(100))
#> [1] 160