https://github.com/cran/fBasics
Revision ac00e3733757e14face419a377dfa956aedf2abe authored by Tobias Setz on 17 June 2022, 09:50:58 UTC, committed by cran-robot on 17 June 2022, 09:50:58 UTC
1 parent 40815ac
Raw File
Tip revision: ac00e3733757e14face419a377dfa956aedf2abe authored by Tobias Setz on 17 June 2022, 09:50:58 UTC
version 3042.89.2
Tip revision: ac00e37
NAMESPACE
################################################################################
## Libraries
################################################################################
useDynLib("fBasics", .registration = TRUE, .fixes = "C_")
################################################################################
## Imports
################################################################################
importFrom("grDevices", as.graphicsAnnot, cm.colors, col2rgb,
             colors, contourLines, gray.colors, heat.colors,
             rainbow, rgb, terrain.colors, topo.colors,
             xy.coords)
importFrom("graphics", axis, barplot, box, boxplot, contour,
             grid, hist, layout, locator, matplot, mtext,
             panel.smooth, par, persp, pie, plot.new,
             plot.window, polygon, rect, rug, symbols, text,
             title)
importFrom("stats", acf, ansari.test, approx, ar, arima,
             complete.cases, constrOptim, cor, cor.test,
             density, dnorm, dt, integrate, ks.test, lsfit,
             median, model.matrix, model.response, nlm, nlminb,
             numericDeriv, optim, optimize, pacf, pchisq, pf,
             pnorm, ppoints, qchisq, qf, qnorm, qqline,
             qqnorm, qt, residuals, rexp, rnorm, runif, sd,
             shapiro.test, spline, t.test, uniroot, var)
importFrom("utils", menu)

importFrom("methods", getMethod, is, new, slot)

importFrom("spatial", prmat, surf.gls)

## 'akima' is *not* here because of its non-GPL Licence
## importFrom("akima", interp, interpp)


## (MM:) FIXME: Only import what you need!
import("timeDate")
import("timeSeries")

################################################################################
## Exports
################################################################################
#exportPattern(".")
## Avoid ^C_, include those starting with . , be locale-independent
## Ideally avoid S3 methods, but not e.g. runif.lcg
exportPattern("^[ABDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.]")

S3method("getModel", "default")
S3method("print", "control")
S3method("stdev", "default")
S3method("termPlot", "default")
S3method("volatility", "default")

S3method(".plot", "histogram")
S3method(".print", "ssd")
S3method(".summary", "gel")
S3method(".summary", "gmm")

# In the future this should be used:
#exportPattern("^[^\\.]")

# To do before implementation:
#The porfolio book needs:
#export(.blue2redPalette)
#export(.green2redPalette)
#export(.blue2greenPalette)
#export(.purple2greenPalette)
#export(.blue2yellowPalette)
#export(.cyan2magentaPalette)

#fCouplae, fExtremes, fGarch, fMultivar and fRegression need a lot of exported
#functions that start with a dot. This has to be fixed first...

back to top