util.na.rm: Clear Matrix of all 'NA' rows.

Description Usage Arguments Value

View source: R/util.R

Description

Function to remove rows from a given matrix m which contain a specified amount of NA values. The default is that a row is removed from the matrix as soon as one NA value is included. But it is also possible to configure the method to remove rows only when all values are NA.

Usage

1
util.na.rm(x, fun = any)

Arguments

x

with the matrix to clear from NA values

fun

with the function to determine the number of allowed NAs

Value

Matrix with cleaned rows


MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.