reducir: Reduce a matrix, ftable or data.frame

View source: R/reducir.R

reducirR Documentation

Reduce a matrix, ftable or data.frame

Description

Reduce the matrix, ftable o data.frame suppressing rows or columns whose elements are all equal to one of the values of valores.

Usage

reducir(x,valores=NA,filas=TRUE,columnas=TRUE)

Arguments

x

Matrix, ftable or data.frame

valores

Vector values to compare

filas

If TRUE (default) the rows with all values in valores will be deleted

columnas

If TRUE (default) the columns with all values in valores will be deleted

Value

Returns a matrix or data.frame without the rows o columns with all values equals to a value from the valores. If x is a ftable returns an array with two attributes, cabColumna and cabFila which contain an array of header rows and columns.


tablaxlsx documentation built on May 31, 2023, 8:51 p.m.

Related to reducir in tablaxlsx...