decomplete_gsem: Missing epidemic data

View source: R/simulate.R

decomplete_gsemR Documentation

Missing epidemic data

Description

Impute NAs for infection and removal times

Usage

decomplete_gsem(epi, p, q = 1)

Arguments

epi

infection and removal times

p

expected proportion of complete pairs observed

q

probability infection time missing

Value

matrix: infection times, removal times


sdtemple/incompleteSEM documentation built on Feb. 22, 2023, 10:13 a.m.