Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nhanes_vcov

Extract variance/covariance matrix from parameters of svymean


Description

Extract variance/covariance matrix from parameters of svymean

Usage

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

## Not run: 
dat <- nhanes_load_data("PFC_G", "2011-2012", demographics = TRUE)

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

## End(Not run)

RNHANES

Facilitates Analysis of CDC NHANES Data

v1.1.0
Apache License 2.0 | file LICENSE
Authors
Herb Susmann [cre, aut], Silent Spring Institute [cph]
Initial release
2016-11-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.