Learn R Programming

latrend (version 1.2.1)

latrend-assert: latrend-specific assertions

Description

Assertions and checks that may be of use for custom model implementations.

Check whether the input is a valid posterior probability matrix (for the given model).

Usage

has_lcMethod_args(object, which)

is_valid_postprob(pp, model = NULL)

Arguments

object

The object to test.

which

The argument names. Ellipsis (...) will be ignored.

pp

The posterior probability matrix.

model

The lcModel object. Optional.