Learn R Programming

spTimer (version 0.9-1)

spT.time: Timer series information.

Description

This function defines the time series in the spatio-temporal data.

Usage

spT.time(t.series, segments=1)

Arguments

t.series
Number of times within each segment in each series. Can take both regular and irregular time-series.
segments
Number of segments in each time series. This should be a constant.

See Also

spT.Gibbs.

Examples

Run this code
## 

# regular time-series in each year
time.data<-spT.time(t.series=30,segments=2)

# irregular time-series in each year
time.data<-spT.time(t.series=c(35,25),segments=2)

##

Run the code above in your browser using DataLab