sbp_lsmeans: Calculate LS Means of SBP for Spatial Correlation Model

Description Usage Arguments Value See Also Examples

Description

This function calculates a spatially correlated covariance matrix and then finds the LS means for SBP from an EHR dataset which has the following names: avg_sbp, sbp_calc_date, and Patient.MRN

Usage

1

Arguments

df

EHR dataset which has had variable names properly formatted to match modeling

Value

A data frame with lsmeans for avg_sbp by month and year

See Also

gls, emmeans

Examples

1
2
3
4
## Not run: 
sbp_lsmeans(df)

## End(Not run)

jjwillard/wfbmcr documentation built on May 7, 2019, 9:21 p.m.