stcenter: Centralize Space-Time Series Data

Description Usage Arguments Details Examples

View source: R/stcenter.R

Description

This function centralizes the space-time series data to its mean.

Usage

1

Arguments

data

space-time series data in data.frame or matrix object.

Details

The data which is either in data.frame or matrix object should have at least 2 columns to meet the requirements for modeling STARIMA. The columns will be the spatial locations of the data, and the rows would be the series of observations from each location or space.

Examples

1
2
3
4
5
6
# Remove the Year column in palay dataset, since we dont
# need to centralize this.
palay1 <- subset(palay, select = -c(Year))

# Centralize the data
stcenter(palay1)

apipdlani/stcor2 documentation built on Aug. 5, 2017, 12:22 a.m.