-
Notifications
You must be signed in to change notification settings - Fork 28
/
NAMESPACE
88 lines (81 loc) · 1.92 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
## export functions
export(
accuracy,
autoplot.marssMLE,
autoplot.marssPredict,
CSEGriskfigure,
CSEGtmufigure,
forecast,
glance,
MARSS,
MARSSaic,
MARSSboot,
MARSScv,
MARSShessian,
MARSSinfo,
MARSSinits,
MARSSinnovationsboot,
MARSSkem,
MARSSkemcheck,
MARSSkf,
MARSShatyt,
MARSSkfss,
MARSSkfas,
MARSSoptim,
MARSSparamCIs,
MARSSresiduals,
MARSSsimulate,
MARSSFisherI,
MARSSvectorizeparam,
tidy,
zscore,
ldiag
)
#these are part of base, but user could unattach them and then MARSS wouldn't work
import(stats)
import(utils)
import(graphics)
## Imports; I am only using these functions from these packages
importFrom(mvtnorm, rmvnorm)
importFrom(nlme, fdHess)
importFrom(KFAS, SSModel, SSMcustom, KFS)
importFrom("grDevices", "contourLines")
importFrom(generics,forecast)
importFrom(generics,accuracy)
importFrom(generics,glance)
importFrom(generics,tidy)
## register S3 methods
export(MARSSfit) # method
S3method(MARSSfit, default)
S3method(MARSSfit, kem)
S3method(MARSSfit, BFGS)
S3method(accuracy, marssMLE)
S3method(accuracy, marssPredict)
S3method(coef, marssMLE)
S3method(fitted, marssMLE)
S3method(forecast, marssMLE)
S3method(glance, marssMLE)
S3method(model.frame, marssMODEL)
S3method(model.frame, marssMLE)
S3method(print, marssMODEL)
S3method(print, marssMLE)
S3method(print, marssPredict)
S3method(plot, marssMLE)
S3method(plot, marssPredict)
S3method(plot, marssResiduals)
S3method(stats::predict, marssMLE)
S3method(logLik, marssMLE)
S3method(residuals, marssMLE)
S3method(simulate, marssMLE)
S3method(summary, marssMODEL)
S3method(summary, marssMLE)
S3method(tidy, marssMLE)
S3method(toLatex, marssMODEL)
S3method(toLatex, marssMLE)
S3method(stats::tsSmooth, marssMLE)
# Declare these methods if the user has the package
if(getRversion() >= "3.6.0") {
S3method(ggplot2::autoplot, marssMLE)
S3method(ggplot2::autoplot, marssPredict)
S3method(ggplot2::autoplot, marssResiduals)
}