delete: Remove series or years from an 'fhx' object

Description Usage Arguments Details Value See Also Examples

View source: R/utils.R

Description

Remove series or years from an fhx object

Usage

1
delete(x, s, yr)

Arguments

x

An fhx object.

s

Character vector of series to remove from x.

yr

Integer vector of years to remove from x.

Details

You can combine s and yr to specify years within select series to remove.

Value

An fhx object with observations removed.

See Also

Examples

1
2
3
4
data(lgr2)
plot(delete(lgr2, s = "LGR46"))

plot(delete(lgr2, yr = 1300:1550))

burnr documentation built on March 10, 2021, 5:07 p.m.