Number of years of an fhx object

count_year_span(x)

Arguments

x

An fhx object.

Value

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

See also