Git Product home page Git Product logo

fdasrvf_r's People

Contributors

araiari avatar astamm avatar jasonradams47 avatar jdtuck avatar larslau avatar wesserg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fdasrvf_r's Issues

Normalization error in srsf_to_f

Hi,

thank you for that nice R package!
However, I found a certain issue in the code of the function srsf_to_f:

The norm of the sqv-function in the multidimensional case is defined as qnorm = abs(q[, i]) , which must be qnorm = sqrt(crossprod(q[, i])).

Best,
Almond

Distance between a curve and itself is not zero!

The version on CRAN has the issue of non-zero distance (cal_shape_dist) between a curve and itself. For example, calc_shape_dist(beta[,,1,1],beta[,,1,1]) = 0.000133296. Could you please look into this issue?

Regards,
Pankaj

Package dependencies

In the process of documenting and improving code coverage, I noticed that a lot of dependencies of fdasrvf are actually imported for the use of a single function. This is true for lpSolve, Matrix, mvtnorm, tolerance and viridisLite. It could be good to think about in-house replacement for these functions which would lead to removing these dependencies.

Similarly,

  • only two functions of coda are used;
  • only three functions of fields are used

but these are more specialised and might not be trivial to rewrite on our own.

mode = "C" doesn't work in clac_shape_dist

The following code doesn't work for me:
librayr(fdasrvf)
out <- calc_shape_dist(beta[, , 1, 1], beta[, , 1, 4], mode = "C")

Error in f[, (tau + 1):T1] : subscript out of bounds

mode = "O" works fine, but mode = "C" gives me that error.

C++11 requirement

In the next R 4.3.0 version, CRAN will request that any package requiring C++ in the SystemRequirements entry of the DESCRIPTION file defaults to C++17. There are two ways of handling this. If your package does not actually use syntax from either C++11 of C++14 or C++17, then we could remove the requirement completely as it is currently being done for many tidyverse-related packages or Rcpp-related packages.
Otherwise we will need to update to C++17.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.