count_year_span: Number of years of an 'fhx' object

View source: R/stats.R

count_year_spanR Documentation

Number of years of an fhx object

Description

Number of years of an fhx object

Usage

count_year_span(x)

Arguments

x

An fhx object.

Value

The difference between the first and last observations in the fhx object. NA will be returned if NA is in x$year.

See Also

  • first_year() get first year of fhx object.

  • last_year() get last year of fhx object.

  • series_stats() basic statistics for series in an fhx object.


burnr documentation built on March 18, 2022, 7:17 p.m.