get_dropout: Get the amount of dropout

Description Usage Arguments Value See Also Examples

Description

Get the amount of dropout

Usage

1
2
3
4
get_dropout(object, ...)

## S3 method for class 'plcp_multi'
get_dropout(object, n = 1, ...)

Arguments

object

An object created by study_parameters

...

Optional arguments.

n

The n-th dataset to use for objects with multiple designs.

Value

A data.frame with the proportion of dropout per time point and treatment condition.

See Also

dropout_manual, dropout_weibull

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
p <- study_parameters(n1 = 11,
                      n2 = 5,
                      n3 = 6,
                      T_end = 10,
                      icc_pre_subject = 0.5,
                      icc_pre_cluster = 0,
                      var_ratio = 0.03,
                      icc_slope = 0.05,
                      dropout = dropout_weibull(proportion = 0.3, rate = 3),
                      cohend = -0.8)
get_dropout(p)

powerlmm documentation built on May 2, 2019, 3:10 a.m.