Retrieve the data of a column form a matrix or a data.frame.
1 | find_column(Ds0, NomdeColonne, Output = "Vector")
|
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") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.