find_column: Retrieve the data of a column form a matrix or a data.frame.

Description Usage Arguments

View source: R/EDA.R

Description

Retrieve the data of a column form a matrix or a data.frame.

Usage

1
find_column(Ds0, NomdeColonne, Output = "Vector")

Arguments

Ds0

matrix or a data.frame

NomdeColonne

the name of the column of interest

Output

(optional) export the data of the column as a vector or only the number of the column. @examples ExMatrix = cbind(c(11,12,13),c(21,22,23),c(31,32,33)) colnames(ExMatrix) <- c('first_col','second_col','third_col') find_column(ExMatrix, NomdeColonne='second_col', Output = "Vector") find_column(ExMatrix, NomdeColonne='second_col', Output = "Number")


NicolasEDubois/anaval documentation built on May 7, 2019, 6:18 p.m.