Learn R Programming

powerlmm (version 0.4.0)

get_dropout: Get the amount of dropout

Description

Get the amount of dropout

Usage

get_dropout(object, ...)

# S3 method for 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab