stcenter: Centralize Space-Time Series Data

Description Usage Arguments Details Examples

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)

alstat/stcor documentation built on May 11, 2019, 11:29 p.m.