create_A_matrix: Create the helper 'A' matrix used to average the parameter...

create_A_matrixR Documentation

Create the helper 'A' matrix used to average the parameter estimates.

Description

Take parameter labels from MMM object and return a p*q matrix where p is unique(parameters) and q is the total number of parameters (including duplicates).

Usage

create_A_matrix(parameter_labels)

Arguments

parameter_labels

A data frame with parameter labels returned by the stack_parameters() function.

Value

A p*q matrix with ones if a parameter was estimated and zeros if it was not estimated in the pairwise step


JanvandenBrand/jmmm documentation built on May 30, 2022, 9:37 a.m.