nhanes_vcov: Extract variance/covariance matrix from parameters of svymean

Description Usage Arguments Value Examples

Description

Extract variance/covariance matrix from parameters of svymean

Usage

1
nhanes_vcov(nhanes_data, columns, weights_column = "", filter = "")

Arguments

nhanes_data

data frame containing NHANES data

columns

columns to include in svymean for

weights_column

name of the weights column

filter

logical expression used to subset the data

Value

a data frame

Examples

1
2
3
4
5
6
## Not run: 
dat <- nhanes_load_data("PFC_G", "2011-2012", demographics = TRUE)

nhanes_vcov(dat, c("LBXPFOA", "LBXPFOS"))

## End(Not run)

RNHANES documentation built on May 2, 2019, 5:08 a.m.