
Wrapper function to generate ULM / MLM activity parameters
params_lm_activity.RdWrapper function to generate ULM / MLM activity parameters
Arguments
- method
String. Univariate (one model per set) or multivariate (all sets in one model) linear model. One of
c("ulm", "mlm"). Defaults to"ulm".- stat
String. Return the t-value or the coefficient as the activity score. One of
c("t", "coef"). Defaults to"t".- p_values
Boolean. Shall the two-sided p-values be computed. Defaults to
FALSE.- tmin
Integer. Minimum number of targets per source after removing targets absent from the data. Defaults to
5L.
Value
A named list with the following elements:
method - String. Univariate (one model per set) or multivariate (all sets in one model) linear model. One of
c("ulm", "mlm"). Defaults to"ulm".stat - String. Return the t-value or the coefficient as the activity score. One of
c("t", "coef"). Defaults to"t".p_values - Boolean. Shall the two-sided p-values be computed. Defaults to
FALSE.tmin - Integer. Minimum number of targets per source after removing targets absent from the data. Defaults to
5L.