getDatColIndices: Get data column indices.

Description Usage Arguments Value

View source: R/map.R

Description

Get data column indices for a mapframe or equivalent data.frame. Data columns are taken to be any columns that aren't a sequence or position column.

Usage

1
getDatColIndices(x, datcolumns = NULL, strict = FALSE)

Arguments

x

A mapframe or equivalent data.frame.

datcolumns

Optional parameter indicating which data columns to consider. This must be a character vector of data column names, a logical vector with length equal to the number of data columns, or a numeric vector of indices with respect to the set of data columns. If no data columns are specified, all are considered.

strict

Option indicating that the specified data columns must be in the same order as they are in the mapframe object.

Value

Vector of data column indices.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.