Learn R Programming

dsm (version 2.3.3)

check.cols: Check column names exist

Description

Internal function to check that supplied data.frames have the correct columns and checks that sample labels are all unique.

Usage

check.cols(ddf.obj, segment.data, observation.data, segment.area)

Value

nothing, but throws an error if something went wrong

Arguments

ddf.obj

a ddf object from mrds

segment.data

segment data as defined in dsm

observation.data

observation data as defined in dsm

segment.area

area of segments

Author

David Lawrence Miller