Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.6 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.6 KB

Manifoldgstat Package

Politecnico di Milano (ITALY)

Polimi logo

Authors : Ilaria Sartori, Luca Torriani

Mailto : [email protected], [email protected]

Date : November 2018

The output is an R Package that performs kriging prediction for manifold-valued random fields [Manifoldgstat]

The source code is written in C++ and linked to R throught the API RcppEigen and .Call

Subfolder structure

  • src contains all C++ code and a special file named Makevars necessary to build and install the R package
  • R contains the R functions that wrap the C++ calls
  • data contains .RData files useful for testings

To install the package, please make sure that you have the package devtools already installed.

From the root folder then type

R -e "library(devtools); install()" —-silent
R -e "library(devtools); document()" —-silent

or in another way download source code from the github repository, unzip the file and run from the terminal:

R CMD INSTALL <path name of the package to be installed> -l <path name of the R library tree>

Otherwise you can install directly from github:

devtools::install_github("LucaTorriani/KrigingManifoldData", ref = "master")

To run an example in R:

    example(model_GLS, "Manifoldgstat")
    example(kriging, "Manifoldgstat")
    example(model_kriging, "Manifoldgstat")