dframe.check: Internal Check on Survey Analysis Data Frames

Description Usage Arguments Value Other Functions Required Author(s)

View source: R/dframe.check.R

Description

This function checks site IDs, the sites data frame, the subpop data frame, the data.cat data frame, the data.cont data frame, the data.ar data frame, and the data.rr data frame to assure valid contents. If they do not exist, then the sites data frame and the subpop data frame are created.

Usage

1
2
dframe.check(sites, design, subpop, data.cat, data.cont, data.risk,
  design.names)

Arguments

sites

The sites data frame.

design

The design data frame.

subpop

The subpop data frame.

data.cat

The data.cat data frame of categorical response variables.

data.cont

The data.cont data frame of continuous response variables.

data.risk

The data.ar or data.rr data frame of categorical response and stressor variables.

design.names

The names for the design data frame.

Value

List consisting of the sites data frame, design data frame, subpop data frame, data.cat data frame, and data.cont data frame.

Other Functions Required

vecprint

takes an input vector and outputs a character string with line breaks inserted

Author(s)

Tom Kincaid Kincaid.Tom@epa.gov


mhweber/spsurvey documentation built on Sept. 17, 2020, 4:24 a.m.