Learn R Programming

mads (version 0.1.6)

create.obs.table: Creates a subsetted observation table

Description

Subsets the obs.table dataframe supplied to only contain the observations of interest.

Usage

create.obs.table(obs.table, ddf.data, subset.variable, subset.value)

Arguments

obs.table

dataframe of observation records with fields object, Region.Label, and Sample.Label which give links to sample.table, region.table and the data records used in model

ddf.data

dataframe containing the observations

subset.variable

variable name supplied as a character

subset.value

character value on which to subset the data

Value

dataframe containing the subset of the obs.table