spT.time: Timer series information.

Description Usage Arguments See Also Examples

View source: R/spTfnc.R

Description

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

Usage

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

Arguments

t.series

Number of times within each segment in each series. It could be either a scalar or a vector. It should be a scalar if the segments are of equal length and should be a vector of length segments whose entries give the length of the segments.

segments

Number of segments in each time series. This should be a scalar.

See Also

spT.Gibbs.

Examples

1
2
3
4
5
6
7
8
9
## 

# Equal length time-series in each of 3 years
time.data<-spT.time(t.series=365,segments=3)

# Un-equal length time-series in 5 years
time.data<-spT.time(t.series=c(366, 365, 365, 365, 366),segments=5)

##

spTimer documentation built on July 2, 2020, 3:18 a.m.