Skip to content

amillane/rspatialtransform

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 response
                             testLocs,
                             MaternParams=(range,nug), 
                             smoothness=1/2,
                             M = 30, #num neighbors
                             ncores=detectCores()-10)

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages