Learn R Programming

⚠️There's a newer version (1.1-21) of this package.Take me there.

fdaPDE

This repository contains the development version of fdaPDE package.

New features wrt CRAN: Wald inference on the nonparametric term for space-time models.

Compiled in Ubuntu using g++ compiler and in macOS: for the precise versions tested, see the report. If using a Linux machine, it is advisable to install rgl, geometry, plot3D and plot3Drgl before fdaPDE.

Image.FEM has been restored. Bugs in fPCA, boundary conditions and space-varying regression have been fixed. Issues of point location in 2.5D have been fixed. Compiled in Win RStudio, Ubuntu using g++ compiler and in macOS: for the precise versions tested, see the report. If using a Linux machine, it is advisable to install rgl, geometry, plot3D and before fdaPDE. If using Windows, it is advisable to install Rtools and then rgl, plot3D, geometry and RcppEigen libraries.

Subfolder structure:

/src contains all C++ code and a special file named Makevars necessary to build and install the R package. The code is now organized in subfolders and divided into source files and header files. See the report for the precise new orgaization. We suggest to use a base-8 scale as spacing scale for visualization, in order to preserve the code style.

/R contains the R functions that wrap the C++ calls,

/data contains the data to run the tests in the examples,

/man contains the manual for the package.

Installation:

Two different methods are proposed in order to install the package in the R environment.
Download the .zip file from the repository, unzip it, and for the installation choose one of the two following methods:

  • R console: install.packages("/path/to/fdaPDE", type='source', repos=NULL)

  • From the Terminal: $ R CMD build <path to folder to be installed>
    $ R CMD INSTALL -l <path name of the R library tree> <path to folder to be installed>

see the installation section in the report for more information.

Remarks:

  1. the shift of indexes from R to C++ is done within the R functions smooth.FEM and FPCA.FEM Do not use C++ scripts directly on the R mesh objects, unless you take care of shifing indexes by yourself.

Copy Link

Version

Install

install.packages('fdaPDE')

Monthly Downloads

245

Version

1.1-17

License

GPL-3

Maintainer

Eleonora Arnone

Last Published

December 21st, 2023

Functions in fdaPDE (1.1-17)

fs.test.3D

FELSPLINE 3D test function
eval.FEM.time

Evaluate a FEM.time object at a set of point locations
create.mesh.3D

Create a mesh.3D object from the connectivity matrix and nodes locations
horseshoe2D

Horseshoe domain
eval.FEM

Evaluate a FEM object at a set of point locations
horseshoe2.5D

Horseshoe2.5D domain
fdaPDE-deprecated

Deprecated Functions
fs.test

FELSPLINE test function
plot.mesh.1.5D

Plot a mesh.1.5D object
create.mesh.2D

Create a 2D triangular mesh
plot.FEM.time

Plot a FEM.time object at a given time
create.mesh.2.5D

Create a mesh.2.5D object from the nodes locations and the connectivity matrix
inferenceDataObjectBuilder

Constructor for inferenceDataObject class
inferenceDataObject-class

Class for inference data
projection.points.2.5D

Project 3D points onto 2D 2.5D triangular mesh
plot.mesh.3D

Plot a mesh.3D object
refine.mesh.2D

Refine a 2D triangular mesh
image.FEM.time

Image plot of a 2D FEM.time object at a given time
hub2.5D

Hub domain
image.FEM

Image Plot of a 2D FEM object
projection.points.1.5D

Project 2D points onto 1.5D linear network mesh
quasicircle2D

Quasicircle2D domain
plot.FEM

Plot a FEM object
refine.by.splitting.mesh.1.5D

Create a mesh.1.5D object by splitting each edge of a given mesh into two subedges.
inferenceDataObjectTimeBuilder

Constructor for inferenceDataObjectTime class
smooth.FEM

Spatial regression with differential regularization
plot.mesh.2.5D

Plot a mesh.2.5D object
quasicircle2Dareal

Quasicircle2Dareal domain
refine.by.splitting.mesh.3D

Create a mesh.3D object by splitting each tetrahedron of a given mesh into eight subtetrahedrons.
plot.mesh.2D

Plot a mesh.2D object
inferenceDataObjectTime-class

Class for inference data in ST case
refine.by.splitting.mesh.2.5D

Create a mesh.2.5D object by splitting each triangle of a given mesh into four subtriangles.
refine.by.splitting.mesh.2D

Create a mesh.2D object by splitting each triangle of a given mesh into four subtriangles.
sphere3Ddata

Sphere3Ddata
refine.mesh.1.5D

Refine 1.5D mesh
smooth.FEM.time

Space-time regression with differential regularization
FEM

Define a surface or spatial field by a Finite Element basis expansion
FPCA.FEM

Smooth Functional Principal Component Analysis
create.FEM.basis

Create a FEM basis
create.mesh.1.5D

Create a 1.5D linear network mesh
DE.heat.FEM.time

Spatio-temporal density initialization
DE.FEM.time

Nonparametric spatio-temporal density estimation with differential regularization
DE.heat.FEM

Density initialization
covs.test

Covariate test function for the horseshoe domain
FEM.time

Define a spatio-temporal field by a Finite Element basis expansion
DE.FEM

Nonparametric density estimation with differential regularization