summarize_latent_state_given_Q: Summarize individual latent state patterns given Q

Description Usage Arguments Value

Description

This function takes in posterior samples of individual latent states, orders latent states according to the rows of Q and output

Usage

1
summarize_latent_state_given_Q(H_star_samp, z_samp, Q)

Arguments

H_star_samp

A latent state profile array with elements indexed by (pseudo-cluster, latent state, MCMC iteration for inference)

z_samp

A pseudo-cluster indicator matrix with elements indexed by (individual, MCMC iteration for inference)

Q

Q matrix; known but could have rows to be ordered

Value


oslerinhealth/rewind documentation built on May 26, 2019, 9:36 a.m.