Skip to content

Wbasis is not defined #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SamGG opened this issue Mar 20, 2023 · 1 comment
Open

Wbasis is not defined #8

SamGG opened this issue Mar 20, 2023 · 1 comment

Comments

@SamGG
Copy link

SamGG commented Mar 20, 2023

Thanks for the package.
It seems to me that Wbasis (L207) is not defined. Is there a typo in the previous line?

fda/R/landmarkreg.R

Lines 105 to 108 in 46a3713

Wnbasis <- length(x0marks) + 2
Ybasis <- create.bspline.basis(rangeval, Wnbasis)
Wfd <- fd(matrix(0,Wnbasis,1), Wbasis)
WfdPar <- fdPar(Wfd, 2, 1e-10)

Best.

@gileshooker
Copy link
Collaborator

Absolutely correct, and corrected with thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants