sv2pos_get_ind: Extracts a subset of TSD data according to the array subset...

View source: R/sv2pos_get_ind.R

sv2pos_get_indR Documentation

Extracts a subset of TSD data according to the array subset 'ind' and/or the cartesian subset 'range' and/or the logical/numeric vector of subscripts 'subset'.

Description

Extracts a subset of TSD data according to the array subset 'ind' and/or the cartesian subset 'range' and/or the logical/numeric vector of subscripts 'subset'.

Usage

sv2pos_get_ind(
  data,
  ind = list(),
  range = list(),
  subset = NULL,
  strict = TRUE
)

Arguments

data

is a list of elements named according to the TSD file format.

ind

is a list of indexes, as typed into the [] of an array, where 0 and NULL denotes all indexes.

range

is a list of elements with names matching names if 'data', specifying the range of the corresponding elements.

subset

is a numeric or logical vector/expression indicating elements or rows to keep (as used in subset()). Missing values are taken as false, and subset=0 or subset=NULL indicates no subsetting.

strict

is TRUE if strict inequality is to be used when subsetting according to 'range'.


arnejohannesholmin/cpplot3d documentation built on April 14, 2024, 11:36 p.m.