getSelAxisInd: Return the column indices with given variables names.

View source: R/ggbootMV-helper.R View source: R/ggbootMISC.R

getSelAxisIndR Documentation

Return the column indices with given variables names.

Description

Return the column indices with given variables names.

getSelAxisInd returns the indices of the columns in data whose names are in selAxisLab.

Usage

getSelAxisInd(selAxisLab, data)

getSelAxisInd(selAxisLab, data)

Arguments

selAxisLab

character vector. Names of columns in data to print.

data

dataframe.

selAxisLab

character vector. Names of columns whose axes must be shown on biplot. If NULL, then all axes must be plotted, and an integer vector from 1 to ncol(data) is returned.

data

numeric dataframe. Dataframe from which to draw the labels.

Value

Integer vector of columns in data to plot.


MiguelRodo/ggboot documentation built on Nov. 9, 2023, 5:45 p.m.