Skip to content

Commit ca077f8

Browse files
committed
three modified files restored
1 parent 8a53aa6 commit ca077f8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: fda
2-
Version: 5.1.2
3-
Date: 2020-04-13
2+
Version: 5.1.3
3+
Date: 2020-04-16
44
Title: Functional Data Analysis
55
Author: J. O. Ramsay <ramsay@psych.mcgill.ca> [aut,cre],
66
Spencer Graves <spencer.graves@effectivedefense.org> [ctb],

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export(AmpPhaseDecomp,
22
as.array3,
3+
as.fd,
34
as.POSIXct1970,
45
axisIntervals,
56
axesIntervals,
@@ -53,6 +54,7 @@ export(AmpPhaseDecomp,
5354
exponpen,
5455
fd, fbplot,
5556
fd2list,
57+
fdaMatlabPath,
5658
fdlabels,
5759
fdPar,
5860
fourier,

man/register.fd.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ smBv <- deriv.fd(hgtmfd.all, 1)
169169
## 2. Register the first 2 Berkeley boys using the default basis
170170
## for the warping function
171171
##
172-
# register.fd takes time, so use only 2 curves as an illustration
173-
# to minimize compute time in these examples
172+
# register.fd takes time, so we use only 2 curves as an illustration
173+
# to minimize computing time in these examples
174174
nBoys <- 2
175175
# Define the target function as the mean of the first nBoys records
176176
smBv0 = mean.fd(smBv[1:nBoys])
@@ -189,6 +189,7 @@ plotreg.fd(smB.reg.0)
189189
# Notice that all the warping functions all have simple shapes
190190
# due to the use of the simplest possible basis
191191

192+
if (!CRAN()) {
192193
##
193194
## 3. Define a more flexible basis for the warping functions
194195
##
@@ -203,7 +204,6 @@ smB.reg.1 <- register.fd(smBv0, smBv[1:nBoys], WfdParobj)
203204
plotreg.fd(smB.reg.1)
204205
# Notice that now the warping functions can have more complex shapes
205206

206-
\dontrun{
207207
##
208208
## 4. Change the target to the mean of the registered functions ...
209209
## this should provide a better target for registration

0 commit comments

Comments
 (0)