Learn R Programming

SpaTimeClus (version 1.0.1)

SpaTimeClus-package: SpaTimeClus a package for clustering spatio-temporal data

Description

SpaTimeClus is a tool for clustering Spatio-Temporal data.

Arguments

Details

Package: SpaTimeClus
Type: Package
Version: 1.0.0
Date: 2016-12-21
License: GPL-2
LazyLoad: yes

The main function of this package is spatimeclus that performs the clustering of spatio-temporal data.

References

Cheam A., Marbac M., and McNicholas P., Model-Based Clustering for Spatio-Temporal Data Applied for Air Quality.

Examples

Run this code
# NOT RUN {
data(airparif)

# Clustering of the data by considering the spatial dependencies
res.spa <- spatimeclus(airparif$obs,  G=3, K=4, Q=4, map = airparif$map,
 nbinitSmall=50, nbinitKept=5, nbiterSmall=5)
summary(res.spa)

# Clustering of the data without considering the spatial dependencies
res.nospa <- spatimeclus(airparif$obs,  G=3, K=4, Q=4, nbinitSmall=50, nbinitKept=5, nbiterSmall=5)
summary(res.nospa)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab