Skip to content

andreavicini/pacsColliColombo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#fdaPDE_dev

This repository contains the development version of fdaPDE package (future 2.0 version).

New features wrt CRAN: smooth regression for manifold and volumetric domains, also with areal data. Smooth fPCA over 2D, 2.5D and 3D domains, also with areal data.

Bugs in fPCA, boundary conditions and space-varying regression have been fixed. Issues of point location in 2.5D have been fixed. Areal data are still undergoing tests.

Compiled in both Win RStudio and Ubuntu 18.04 using g++ compiler. If using a Linux machine, it is advisable to install rgl, plot3D and plot3Drgl before fdaPDE.

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

Remarks:

  1. the meshes 2.5D and 3D contained in /data are outdated (nodes are stored in a vector instead of a matrix). To create a consistent mesh from those, do:

    data(meshName)

    vertici <- matrix(data=meshName$nodes,ncol=3,byrow=T) triangoli <- matrix(data=meshName$triangles, ncol=3, byrow=T) # tetrahedrons with 4 columns in 3D

    mesh <- fdaPDE::create.MESH.2.5D(nodes = vertici,triangles = triangoli)

  2. the test scripts in /tests are outdated, and will be updated as soon as possible. Scripts in /RScripts have not been verified yet.

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

About

No description, website, or topics provided.

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.note

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 63.2%
  • Fortran 30.1%
  • C++ 2.8%
  • R 1.7%
  • Makefile 1.7%
  • Yacc 0.2%
  • Other 0.3%