Remove series or years from an fhx object

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.

Value

An fhx object with observations removed.

Details

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

See also

Examples

data(lgr2)
plot(delete(lgr2, s = "LGR46"))


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