spTimer (version 3.3)

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. 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

Run this code
# NOT RUN {
<!-- %\dontrun{ -->
# }
# NOT RUN {
## 

# 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)

##
# }
# NOT RUN {
<!-- %} -->
# }

Run the code above in your browser using DataCamp Workspace