get_pattern_groups_unique: Get Pattern Summary

View source: R/mcmc.R

get_pattern_groups_uniqueR Documentation

Get Pattern Summary

Description

Takes a dataset of pattern information and creates a summary dataset of it with just 1 row per pattern

Usage

get_pattern_groups_unique(patterns)

Arguments

patterns

A data.frame with the columns pgroup, pattern and group

Details

  • The column pgroup must be a numeric vector indicating which pattern group the patient belongs to

  • The column pattern must be a character string of 0's or 1's. It must be identical for all rows within the same pgroup

  • The column group must be a character / numeric vector indicating which covariance group the observation belongs to. It must be identical within the same pgroup


rbmi documentation built on Nov. 24, 2023, 5:11 p.m.