adapperccutpoints: Percentiles of (subgroups of) observations

Description Usage Arguments Value

View source: R/adapperccutpoints.R

Description

For internal use in the mixADA GUI: Computes sample quantiles fpor subgroups of observations, where subgroups are assumed to be determined by a two-component mixture model

Usage

1
2
adapperccutpoints(resadapmixmod, level = 0.95, alternative = "less",
 group = c("nonresponder", "responder", "all"))

Arguments

resadapmixmod

an object obtained by fitting a mixture model, by using functions adapmixmod

level

single numeric value, ]0,1[, the levels of percentiles

alternative

as usual, single character string, "two.sided": two-sided prediction intervals, "less": upper prediction limits only, "greater": lower prediction limits only

group

a single character string, naming for which subset of biological samples to consider for fitting random effects models and prediction limits

Value

A data.frame with 3 columns:

value

numeric, percentiles acc. to different methods

group

character, naming a subgroup of the mixture model

estimated

character, labels for the type of percentile used


schaarschmidt/mixADA documentation built on May 29, 2019, 3:25 p.m.