give {powRICLPM}R Documentation

Extract information from powRICLPM object

Description

Extract information stored within a powRICLPM object (internally used by print.powRICLPM and summary.powRICLPM). See "Details" for which pieces of information can be extracted. The information is presented by condition (i.e., sample size, number of time points, and ICC).

Usage

give(from, what, parameter = NULL)

Arguments

from

A powRICLPM object

what

A character string, denoting the information to extract, either "conditions", "estimation_problems", "results", or "names".

parameter

(optional) When what = "results", a character string denoting the parameter to extract the results for.

Details

The following information can be extracted from the powRICLPM object:

Value

A data.frame.

Examples


# Return data frame with number of estimation problems per experimental condition
give(out_preliminary, "estimation_problems")

# Return data frame with performance measures for "wB2~wA1" per experimental condition
give(out_preliminary, "results", parameter = "wB2~wA1")

# Return character vector with parameter names
give(out_preliminary, "names")

[Package powRICLPM version 0.1.1 Index]