Skip to content

Commit 0bf8dd4

Browse files
committed
fdParcheck bug
1 parent c82b30c commit 0bf8dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/smooth.pos.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ smooth.pos <- function(argvals, y, WfdParobj, wtvec=rep(1,n), conv=1e-4,
6060
# FLIST objects are indexed linear with curves varying inside
6161
# variables.
6262

63-
# Last modified 6 January 2020 by Jim Ramsay
63+
# Last modified 16 November 2021 by Jim Ramsay
6464

6565
# check ARGVALS
6666

@@ -85,7 +85,7 @@ smooth.pos <- function(argvals, y, WfdParobj, wtvec=rep(1,n), conv=1e-4,
8585

8686
# check WfdParobj and get LAMBDA
8787

88-
WfdParobj <- fdParcheck(WfdParobj)
88+
WfdParobj <- fdParcheck(WfdParobj,curve)
8989
lambda <- WfdParobj$lambda
9090

9191
# the starting values for the coefficients are in FD object WFDOBJ

0 commit comments

Comments
 (0)