as.ts.tis {tis}R Documentation

Convert a Time Indexed Series to a Time Series

Description

Constructs a ts object from a tis object. The tis object's starting year, starting cycle, and frequency, along with the object's data, in a call to the ts function.

Usage

## S3 method for class 'tis'
as.ts(x, ...)

Arguments

x

a tis object to be converted

...

Ignored

Details

The tis class covers more frequencies than the ts class does, so the conversion may not be accurate.

Value

A ts object with the same data as x, and with starting time and frequency given by:

	start = c(year(xstart), cycle(xstart))
	frequency = frequency(x)

Note

The tis class covers more frequencies than the ts class does, so the conversion may not be accurate.

See Also

as.ts


[Package tis version 1.39 Index]