Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

remove.rows

Remove Rows


Description

remove.na.rows removes rows which contain at least 1 NA remove.all.na rows removes rows which are all NA's

Usage

remove.na.rows(x)
remove.all.na.rows(x)

Arguments

x

An Fts object

Value

an Fts object

Author(s)

Whit Armstrong

Examples

x <- fts(index=seq(from=Sys.Date(),by="days",length.out=10),matrix(rnorm(20),ncol=2))

x[5,1] <- NA
x[10,] <- NA

print(x)

## will drop rows where NA's appear
## in any of the columns
remove.na.rows(x)

## will drop rows where NA's appear
## in all of the columns
remove.all.na.rows(x)

fts

R Interface to 'tslib' (a Time Series Library in C++)

v0.9.9.2
GPL-3
Authors
Whit Armstrong <armstrong.whit@gmail.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.