Skip to content

Repository files navigation

rspatialtransform

The goal of rspatialtransform is to transform spatially correlated data to independent data to be used in machine learning models.

Installation

You can install the development version of rspatialtransform from GitHub with:

# install.packages('devtools')devtools::install_github('amillane/rspatialtransform')

Example

This is a basic example which shows you how to implement the transformation:

## usage example
library(rspatialtransform)
transform_to_ind<-function(y~.,
trainData,
trainLocs,
testData, #Don't include responsetestLocs,
MaternParams=(range,nug), smoothness=1/2,
M=30, #num neighborsncores=detectCores()-10)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages