isValidCrossbreak: Tests that crossbreak is valid.

Description Usage Arguments

Description

A crossbreak object must be a list, and each element must be a named vector

Usage

1
2
  isValidCrossbreak(x, surveyorObject,
    nrow = nrow(surveyorObject$sdata), throwErrors = TRUE)

Arguments

x

A crossbreak object to test

surveyorObject

A surveyor object

nrow

The required length of the crossbreak, i.e. the number of rows in the surveydata object

throwErrors

Logical. If TRUE, throws errors, else simply returns TRUE or FALSE


andrie/surveyor documentation built on May 10, 2019, 11:21 a.m.