1# Refer to all C/Fortran routines by their name prefixed by C_
2useDynLib(stats, .registration = TRUE, .fixes = "C_")
3
4import(graphics)
5importFrom(grDevices, as.graphicsAnnot, dev.cur, dev.flush, dev.hold,
6           dev.interactive, dev.new, dev.set, devAskNewPage,
7           extendrange, n2mfrow, palette, xy.coords)
8importFrom(utils, count.fields, flush.console, str, tail)
9
10export(.checkMFClasses, .getXlevels, .MFclass, .nknots.smspl,
11       acf, acf2AR, add.scope,
12       add1, addmargins, aggregate,aggregate.ts, AIC, alias, anova,
13       aov, approx, approxfun, ar, ar.burg, ar.mle, ar.ols, ar.yw,
14       arima, arima.sim, arima0, arima0.diag, ARMAacf, ARMAtoMA,
15       as.dendrogram, as.dist, as.formula, as.hclust, as.stepfun,
16       as.ts, asOneSidedFormula, ave, bandwidth.kernel, BIC, binomial,
17       biplot, Box.test, bw.bcv, bw.nrd, bw.nrd0, bw.SJ, bw.ucv, C,
18       cancor, case.names, ccf, cmdscale, coef, coefficients,
19       complete.cases, confint, confint.default, confint.lm, constrOptim,
20       contr.SAS, contr.helmert, contr.poly, contr.sum,
21       contr.treatment, contrasts, "contrasts<-", convolve,
22       cooks.distance, cophenetic, cor, cov, cov.wt, cov2cor,
23       covratio, cpgram, cutree, cycle,
24       D, DF2formula,
25       dbeta, dbinom, dcauchy,
26       dchisq, decompose, delete.response, deltat, dendrapply,
27       density, deriv, deriv3, deviance, dexp, df, df.kernel,
28       df.residual, dfbeta, dfbetas, dffits, dgamma, dgeom, dhyper,
29       diffinv, dist, dlnorm, dlogis, dmultinom, dnbinom, dnorm,
30       dpois, drop.scope, drop.terms, drop1, dsignrank, dt,
31       dummy.coef, dummy.coef.lm, dunif, dweibull, dwilcox, ecdf, eff.aovlist,
32       effects, embed, estVar, end, expand.model.frame, extractAIC,
33       factanal, factor.scope, family, fft, filter, fitted,
34       fitted.values, fivenum, formula, frequency, ftable, Gamma,
35       gaussian, get_all_vars, getCall, getInitial, glm, glm.control,
36       glm.fit, hasTsp, hat, hatvalues, hclust, heatmap, HoltWinters,
37       influence, influence.measures, integrate, interaction.plot,
38       inverse.gaussian, IQR, is.empty.model, is.leaf, is.mts,
39       is.stepfun, is.ts, is.tskernel, isoreg, KalmanForecast,
40       KalmanLike, KalmanRun, KalmanSmooth, kernapply, kernel, kmeans,
41       knots, ksmooth, lag, lag.plot, line, lm, lm.fit, .lm.fit,
42       lm.influence, lm.wfit, loadings, loess, loess.control,
43       loess.smooth, logLik, loglin, lowess, ls.diag, ls.print, lsfit,
44       mad, mahalanobis, make.link, makeARIMA, makepredictcall,
45       manova, mauchly.test, median, medpolish, model.extract,
46       model.frame, model.matrix, model.offset, model.response,
47       model.tables, model.weights, monthplot, mvfft, na.action,
48       na.contiguous, na.exclude, na.fail, na.omit, na.pass,
49       napredict, naprint, naresid, nextn, nlm, nlminb, nls,
50       nls.control, NLSstAsymptotic, NLSstClosestX, NLSstLfAsymptote,
51       NLSstRtAsymptote, nobs, numericDeriv, offset, optim, optimHess,
52       optimise, optimize, order.dendrogram, Pair, p.adjust,
53       p.adjust.methods, pacf, pairwise.table, pbeta, pbinom, pcauchy,
54       pchisq, pexp, pf, pgamma, pgeom, phyper, plclust, plnorm,
55       plogis, pnbinom, pnorm, poisson, poly, polym, power, ppoints,
56       ppois, ppr, PP.test, prcomp, predict, preplot, .preformat.ts, princomp,
57       printCoefmat, profile, proj, promax, psignrank, pt, ptukey,
58       punif, pweibull, pwilcox, qbeta, qbinom, qcauchy, qchisq, qexp,
59       qf, qgamma, qgeom, qhyper, qlnorm, qlogis, qnbinom, qnorm,
60       qpois, qqline, qqnorm, qqplot, qsignrank, qt, qtukey, quantile,
61       quasi, quasibinomial, quasipoisson, qunif, qweibull, qwilcox,
62       r2dtable, rbeta, rbinom, rcauchy, rchisq, read.ftable,
63       rect.hclust, reformulate, relevel, reorder, replications,
64       reshape, resid, residuals, rexp, rf, rgamma, rgeom, rhyper,
65       rlnorm, rlogis, rmultinom, rnbinom, rnorm, rpois, rsignrank,
66       rstandard, rstudent, rt, runif, runmed, rweibull, rwilcox,
67       rWishart, scatter.smooth, screeplot, sd, se.contrast,
68       selfStart, setNames, sigma, simulate, smooth, smooth.spline,
69       smoothEnds, sortedXyData, spec.ar, spec.pgram, spec.taper,
70       spectrum, spline, splinefun, splinefunH, SSD, SSasymp,
71       SSasympOff, SSasympOrig, SSbiexp, SSfol, SSfpl, SSgompertz,
72       SSlogis, SSmicmen, SSweibull, start, stat.anova, step, stepfun,
73       stl, StructTS, summary.manova, supsmu, symnum, termplot, terms,
74       time, toeplitz, ts, ts.intersect, ts.plot, ts.union, tsdiag,
75       tsp, "tsp<-", tsSmooth, TukeyHSD, uniroot, update, var,
76       variable.names, varimax, .vcov.aliased, vcov, weighted.mean,
77       weighted.residuals, weights, window, "window<-", write.ftable,
78       xtabs, pbirthday, qbirthday)
79
80## from ctest
81export(ansari.test, bartlett.test, binom.test, chisq.test, cor.test,
82       fisher.test, fligner.test, friedman.test, kruskal.test,
83       ks.test, mantelhaen.test, mauchly.test, mcnemar.test,
84       mood.test, oneway.test, pairwise.prop.test, pairwise.t.test,
85       pairwise.wilcox.test, poisson.test, power.anova.test,
86       power.prop.test, power.t.test, prop.test, prop.trend.test,
87       quade.test, shapiro.test, t.test, var.test, wilcox.test)
88
89export(plot.spec.coherency, plot.spec.phase)
90
91
92## methods used by R itself.
93export(density.default, model.frame.default, plot.ecdf, plot.stepfun,
94       summary.aov, summary.lm, summary.stepfun, update.formula)
95
96## historical
97export(aggregate.data.frame, median.default, model.matrix.default,
98       model.matrix.lm, plot.ts, predict.glm, predict.lm,
99       residuals.glm, residuals.lm, summary.glm, terms.formula,
100       update.default)
101
102## model.matrix.lm: robustbase
103## residuals.glm: DAMisc, car, haplo.stats, lasso2, plsRbeta, plsRglm, rms, spgwr
104## residuals.lm: CADFest, robustbase
105## update.default: MuMIn, spatstat
106
107
108## register all the methods for generics elsewhere in case namespace is
109## loaded but not currently attached.
110S3method("[", acf)
111S3method("[", formula)
112S3method("[", terms)
113S3method("[", ts)
114S3method("[", tskernel)
115S3method("[<-", ts)
116S3method("[[", dendrogram)
117S3method(add1, default)
118S3method(add1, glm)
119S3method(add1, lm)
120S3method(add1, mlm)
121S3method(aggregate, data.frame)
122S3method(aggregate, default)
123S3method(aggregate, "formula")
124S3method(aggregate, ts)
125S3method(AIC, default)
126S3method(AIC, logLik)
127S3method(alias, formula)
128S3method(alias, lm)
129S3method(ansari.test, default)
130S3method(ansari.test, formula)
131S3method(ar.burg, default)
132S3method(ar.burg, mts)
133S3method(ar.yw, default)
134S3method(ar.yw, mts)
135S3method(as.data.frame, aovproj)
136S3method(as.data.frame, ftable)
137S3method(as.data.frame, logLik)
138S3method(as.dendrogram, dendrogram)
139S3method(as.dendrogram, hclust)
140S3method(as.dist, default)
141S3method(as.hclust, dendrogram)
142S3method(as.hclust, default)
143S3method(as.hclust, twins)
144S3method(as.matrix, dist)
145S3method(as.matrix, ftable)
146S3method(as.stepfun, default)
147S3method(as.stepfun, isoreg)
148S3method(as.table, ftable)
149S3method(as.ts, default)
150S3method(anova, glm)
151S3method(anova, glmlist)
152S3method(anova, lm)
153S3method(anova, lmlist)
154S3method(anova, loess)
155S3method(anova, mlm)
156S3method(anova, nls)
157S3method(bartlett.test, default)
158S3method(bartlett.test, formula)
159S3method(BIC, default)
160S3method(BIC, logLik)
161S3method(biplot, default)
162S3method(biplot, princomp)
163S3method(biplot, prcomp)
164S3method(case.names, default)
165S3method(case.names, lm)
166S3method(cbind, ts)
167S3method(coef, aov)
168S3method(coef, Arima)
169S3method(coef, default)
170S3method(coef, listof)
171S3method(coef, maov)
172S3method(coef, nls)
173S3method(confint, default)
174S3method(confint, glm)
175S3method(confint, lm)
176S3method(confint, nls)
177S3method(cooks.distance, glm)
178S3method(cooks.distance, lm)
179S3method(cophenetic, default)
180S3method(cophenetic, dendrogram)
181S3method(cor.test, default)
182S3method(cor.test, formula)
183S3method(cut, dendrogram)
184S3method(cycle, default)
185S3method(cycle, ts)
186S3method(deltat, default)
187S3method(density, default)
188S3method(deriv, default)
189S3method(deriv, formula)
190S3method(deriv3, default)
191S3method(deriv3, formula)
192S3method(deviance, default)
193S3method(deviance, glm)
194S3method(deviance, lm)
195S3method(deviance, mlm)
196S3method(deviance, nls)
197S3method(diffinv, default)
198S3method(diffinv, ts)
199S3method(diffinv, vector)
200S3method(df.residual, default)
201S3method(df.residual, nls)
202S3method(dfbeta, lm)
203S3method(dfbetas, lm)
204S3method(diff, ts)
205S3method(drop1, default)
206S3method(drop1, glm)
207S3method(drop1, lm)
208S3method(drop1, mlm)
209S3method(dummy.coef, aovlist)
210S3method(dummy.coef, lm)
211S3method(effects, glm)
212S3method(effects, lm)
213S3method(end, default)
214S3method(estVar, SSD)
215S3method(estVar, mlm)
216S3method(extractAIC, aov)
217S3method(extractAIC, coxph)
218S3method(extractAIC, glm)
219S3method(extractAIC, lm)
220S3method(extractAIC, negbin)
221S3method(extractAIC, survreg)
222S3method(family, glm)
223S3method(family, lm)
224S3method(fitted, default)
225S3method(fitted, isoreg)
226S3method(fitted, kmeans)
227S3method(fitted, nls)
228S3method(fitted, smooth.spline)
229S3method(fligner.test, default)
230S3method(fligner.test, formula)
231S3method(format, dist)
232S3method(format, ftable)
233S3method(formula, character)
234S3method(formula, data.frame)
235S3method(formula, default)
236S3method(formula, formula)
237S3method(formula, glm)
238S3method(formula, lm)
239S3method(formula, nls)
240S3method(formula, terms)
241S3method(frequency, default)
242S3method(friedman.test, default)
243S3method(friedman.test, formula)
244S3method(ftable, default)
245S3method(ftable, formula)
246S3method(getCall, default)
247S3method(getInitial, default)
248S3method(getInitial, formula)
249S3method(getInitial, selfStart)
250S3method(hatvalues, lm)
251S3method(hatvalues, smooth.spline)
252S3method(identify, hclust)
253S3method(influence, glm)
254S3method(influence, lm)
255S3method(kernapply, default)
256S3method(kernapply, ts)
257S3method(kernapply, tskernel)
258S3method(kernapply, vector)
259S3method(knots, stepfun)
260S3method(kruskal.test, default)
261S3method(kruskal.test, formula)
262S3method(labels, dendrogram)
263S3method(labels, dist)
264S3method(labels, lm)
265S3method(labels, terms)
266S3method(lag, default)
267S3method(lines, isoreg)
268S3method(lines, stepfun)
269S3method(lines, ts)
270S3method(logLik, Arima)
271S3method(logLik, glm)
272S3method(logLik, lm)
273S3method(logLik, logLik)
274S3method(logLik, nls)
275S3method(makepredictcall, default)
276S3method(makepredictcall, poly)
277S3method(mauchly.test, SSD)
278S3method(mauchly.test, mlm)
279S3method(median, default)
280S3method(merge, dendrogram)
281S3method(model.frame, aovlist)
282S3method(model.frame, default)
283S3method(model.frame, glm)
284S3method(model.frame, lm)
285S3method(model.matrix, default)
286S3method(model.matrix, lm)
287S3method(model.tables, aov)
288S3method(model.tables, aovlist)
289S3method(monthplot, default)
290S3method(monthplot, stl)
291S3method(monthplot, StructTS)
292S3method(monthplot, ts)
293S3method(mood.test, default)
294S3method(mood.test, formula)
295S3method(na.action, default)
296S3method(na.contiguous, default)
297S3method(na.exclude, data.frame)
298S3method(na.exclude, default)
299S3method(na.fail, default)
300S3method(na.omit, data.frame)
301S3method(na.omit, default)
302S3method(na.omit, ts)
303S3method(napredict, default)
304S3method(napredict, exclude)
305S3method(naprint, default)
306S3method(naprint, exclude)
307S3method(naprint, omit)
308S3method(naresid, default)
309S3method(naresid, exclude)
310S3method(NLSstAsymptotic, sortedXyData)
311S3method(NLSstClosestX, sortedXyData)
312S3method(NLSstLfAsymptote, sortedXyData)
313S3method(NLSstRtAsymptote, sortedXyData)
314S3method(nobs, default)
315S3method(nobs, dendrogram)
316S3method(nobs, glm)
317S3method(nobs, lm)
318S3method(nobs, logLik)
319S3method(nobs, nls)
320S3method(Ops, ts)
321S3method(pacf, default)
322S3method(plot, acf)
323S3method(plot, decomposed.ts)
324S3method(plot, dendrogram)
325S3method(plot, density)
326S3method(plot, ecdf)
327S3method(plot, hclust)
328S3method(plot, HoltWinters)
329S3method(plot, isoreg)
330S3method(plot, lm)
331S3method(plot, medpolish)
332S3method(plot, mlm)
333S3method(plot, ppr)
334S3method(plot, prcomp)
335S3method(plot, princomp)
336S3method(plot, profile.nls)
337S3method(plot, spec)
338S3method(plot, stepfun)
339S3method(plot, stl)
340S3method(plot, ts)
341S3method(plot, tskernel)
342S3method(plot, TukeyHSD)
343S3method(ppr, default)
344S3method(ppr, formula)
345S3method(prcomp, default)
346S3method(prcomp, formula)
347S3method(predict, ar)
348S3method(predict, Arima)
349S3method(predict, arima0)
350S3method(predict, glm)
351S3method(predict, HoltWinters)
352S3method(predict, lm)
353S3method(predict, loess)
354S3method(predict, mlm)
355S3method(predict, poly)
356S3method(predict, ppr)
357S3method(predict, nls)
358S3method(predict, prcomp)
359S3method(predict, princomp)
360S3method(predict, smooth.spline)
361S3method(predict, smooth.spline.fit)
362S3method(predict, StructTS)
363S3method(princomp, default)
364S3method(princomp, formula)
365S3method(print, acf)
366S3method(print, anova)
367S3method(print, aov)
368S3method(print, aovlist)
369S3method(print, ar)
370S3method(print, Arima)
371S3method(print, arima0)
372S3method(print, dendrogram)
373S3method(print, density)
374S3method(print, dist)
375S3method(print, dummy_coef)
376S3method(print, dummy_coef_list)
377S3method(print, ecdf)
378S3method(print, factanal)
379S3method(print, family)
380S3method(print, formula)
381S3method(print, ftable)
382S3method(print, glm)
383S3method(print, hclust)
384S3method(print, HoltWinters)
385S3method(print, htest)
386S3method(print, infl)
387S3method(print, integrate)
388S3method(print, isoreg)
389S3method(print, kmeans)
390S3method(print, lm)
391S3method(print, loadings)
392S3method(print, loess)
393S3method(print, logLik)
394S3method(print, medpolish)
395S3method(print, mtable)
396S3method(print, nls)
397S3method(print, pairwise.htest)
398S3method(print, power.htest)
399S3method(print, ppr)
400S3method(print, prcomp)
401S3method(print, princomp)
402S3method(print, smooth.spline)
403S3method(print, stepfun)
404S3method(print, stl)
405S3method(print, StructTS)
406S3method(print, summary.aov)
407S3method(print, summary.aovlist)
408S3method(print, summary.ecdf)
409S3method(print, summary.glm)
410S3method(print, summary.lm)
411S3method(print, summary.loess)
412S3method(print, summary.manova)
413S3method(print, summary.nls)
414S3method(print, summary.ppr)
415S3method(print, summary.prcomp)
416S3method(print, summary.princomp)
417S3method(print, tables_aov)
418S3method(print, TukeyHSD)
419S3method(print, terms)
420S3method(print, ts)
421S3method(print, tskernel)
422S3method(print, tukeyline)
423S3method(print, tukeysmooth)
424S3method(print, xtabs)
425S3method(profile, nls)
426S3method(profiler, nls)
427S3method(proj, aov)
428S3method(proj, aovlist)
429S3method(proj, default)
430S3method(proj, lm)
431S3method(quade.test, default)
432S3method(quade.test, formula)
433S3method(qqnorm, default)
434S3method(qr, lm)
435S3method(quantile, default)
436S3method(quantile, ecdf)
437S3method(quantile, POSIXt)
438S3method(relevel, default)
439S3method(relevel, factor)
440S3method(relevel, ordered)
441S3method(reorder, default)
442S3method(reorder, dendrogram)
443S3method(residuals, default)
444S3method(residuals, glm)
445S3method(residuals, isoreg)
446S3method(residuals, HoltWinters)
447S3method(residuals, lm)
448S3method(residuals, nls)
449S3method(residuals, smooth.spline)
450S3method(residuals, tukeyline)
451S3method(rev, dendrogram)
452S3method(rstandard, glm)
453S3method(rstandard, lm)
454S3method(rstudent, glm)
455S3method(rstudent, lm)
456S3method(screeplot, default)
457S3method(se.contrast, aov)
458S3method(se.contrast, aovlist)
459S3method(selfStart, default)
460S3method(selfStart, formula)
461S3method(sigma, default)
462S3method(sigma, mlm)
463S3method(simulate, lm)
464S3method(sortedXyData, default)
465S3method(str, dendrogram)
466S3method(summary, aov)
467S3method(summary, aovlist)
468S3method(summary, ecdf)
469S3method(summary, glm)
470S3method(summary, infl)
471S3method(summary, lm)
472S3method(summary, loess)
473S3method(summary, manova)
474S3method(summary, mlm)
475S3method(summary, nls)
476S3method(summary, ppr)
477S3method(summary, prcomp)
478S3method(summary, princomp)
479S3method(summary, stepfun)
480S3method(summary, stl)
481S3method(summary, tukeysmooth)
482S3method(SSD, mlm)
483S3method(start, default)
484S3method(str, logLik)
485S3method(t, ts)
486S3method(t.test, default)
487S3method(t.test, formula)
488S3method(terms, default)
489S3method(terms, formula)
490S3method(terms, terms)
491S3method(time, default)
492S3method(time, ts)
493S3method(tsdiag, Arima)
494S3method(tsdiag, arima0)
495S3method(tsdiag, StructTS)
496S3method(tsSmooth, StructTS)
497S3method(TukeyHSD, aov)
498S3method(update, default)
499S3method(update, formula)
500S3method(var.test, default)
501S3method(var.test, formula)
502S3method(variable.names, default)
503S3method(variable.names, lm)
504S3method(vcov, Arima)
505S3method(vcov, aov)
506S3method(vcov, glm)
507S3method(vcov, lm)
508S3method(vcov, summary.lm)
509S3method(vcov, summary.glm)
510S3method(vcov, mlm)
511S3method(vcov, nls)
512S3method(weighted.mean, Date)
513S3method(weighted.mean, default)
514S3method(weighted.mean, difftime)
515S3method(weighted.mean, POSIXct)
516S3method(weighted.mean, POSIXlt)
517S3method(weights, default)
518S3method(weights, glm)
519S3method(weights, nls)
520S3method(wilcox.test, default)
521S3method(wilcox.test, formula)
522S3method(window, default)
523S3method(window, ts)
524S3method("window<-", ts)
525
526## Cannot register in utils ...
527S3method("update", "packageStatus")
528