jdtuck / fdasrvf_r Goto Github PK
View Code? Open in Web Editor NEWFunctional Data Analysis using Square-Root Slope Framework
Functional Data Analysis using Square-Root Slope Framework
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
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
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,
but these are more specialised and might not be trivial to rewrite on our own.
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.
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
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.