Skip to contents

Returns a character vector of function names exported by pkg, including methods of exported and namespace-internal R6 classes.

Usage

collect_pkg_funs(pkg)

Arguments

pkg

Package name (character scalar).

Value

Character vector of function/method names.

Examples

collect_pkg_funs("stats")
#>   [1] "asOneSidedFormula"    "r2dtable"             "drop.terms"          
#>   [4] "confint.lm"           "is.mts"               "nlminb"              
#>   [7] "alias"                "gaussian"             "profile"             
#>  [10] "ls.diag"              "mahalanobis"          "rmultinom"           
#>  [13] "dpois"                "numericDeriv"         "makepredictcall"     
#>  [16] "qlogis"               "loadings"             "dlogis"              
#>  [19] "nlm"                  "residuals.glm"        "qcauchy"             
#>  [22] "nextn"                "nls"                  "plot.stepfun"        
#>  [25] "arima0.diag"          "dummy.coef"           "ftable"              
#>  [28] "as.formula"           "pairwise.wilcox.test" "time"                
#>  [31] "embed"                "mantelhaen.test"      "dwilcox"             
#>  [34] "ar"                   "oneway.test"          "fligner.test"        
#>  [37] "bw.bcv"               "predict.glm"          "rWishart"            
#>  [40] "logLik"               "confint.default"      "AIC"                 
#>  [43] "rlogis"               "bw.ucv"               "arima"               
#>  [46] "plot.ts"              "tsp"                  "model.extract"       
#>  [49] "tsp<-"                "stat.anova"           "update.formula"      
#>  [52] "qbeta"                "bw.SJ"                "factanal"            
#>  [55] "drop.scope"           "summary.aov"          "optimHess"           
#>  [58] ".lm.fit"              "cooks.distance"       "dnorm"               
#>  [61] "psmirnov"             "extractAIC"           "qbirthday"           
#>  [64] "C"                    "sortedXyData"         "D"                   
#>  [67] "lowess"               "varimax"              "optimize"            
#>  [70] "manova"               "deviance"             "optim"               
#>  [73] "lag.plot"             "constrOptim"          "splinefunH"          
#>  [76] "reformulate"          "pacf"                 "mcnemar.test"        
#>  [79] "df"                   "tsSmooth"             "make.link"           
#>  [82] "glm.control"          "hasTsp"               "pgamma"              
#>  [85] "addmargins"           "dexp"                 "power.anova.test"    
#>  [88] "prop.test"            "model.weights"        "ave"                 
#>  [91] "is.stepfun"           "heatmap"              "stepfun"             
#>  [94] "loess.smooth"         "window<-"             "line"                
#>  [97] "qqline"               "ar.mle"               "residuals"           
#> [100] "lsfit"                "get_all_vars"         "dt"                  
#> [103] "splinefun"            "ks.test"              "cor"                 
#> [106] "add.scope"            "ecdf"                 "pwilcox"             
#> [109] "cov"                  "dendrapply"           "rsignrank"           
#> [112] "bandwidth.kernel"     "free1way"             "as.dist"             
#> [115] "SSweibull"            "rfree1way"            "bw.nrd"              
#> [118] "start"                "plnorm"               "ts.union"            
#> [121] "mvfft"                "dweibull"             "as.ts"               
#> [124] "cor.test"             ".checkMFClasses"      "effects"             
#> [127] "reorder"              "KalmanForecast"       "eff.aovlist"         
#> [130] "qgamma"               "glm.fit"              "plot.spec.coherency" 
#> [133] "dgamma"               "cov2cor"              "ls.print"            
#> [136] "setNames"             "acf2AR"               "add1"                
#> [139] "rcauchy"              "shapiro.test"         "deriv3"              
#> [142] "window"               "model.tables"         "model.matrix"        
#> [145] ".nknots.smspl"        "KalmanLike"           "SSasymp"             
#> [148] "predict"              "as.stepfun"           "t.test"              
#> [151] "power.prop.test"      "rstandard"            "binom.test"          
#> [154] "cophenetic"           "pbeta"                "KalmanRun"           
#> [157] "naprint"              "qlnorm"               "plclust"             
#> [160] "model.response"       "dlnorm"               "lag"                 
#> [163] "spec.pgram"           "interaction.plot"     "fitted"              
#> [166] "rgeom"                "estVar"               "rgamma"              
#> [169] "arima0"               "loglin"               "ar.yw"               
#> [172] "promax"               "phyper"               "drop1"               
#> [175] "SSfol"                "runif"                "family"              
#> [178] "quantile"             "wilcox.test"          "psignrank"           
#> [181] "complete.cases"       "offset"               "scatter.smooth"      
#> [184] "dmultinom"            "rlnorm"               "approx"              
#> [187] "naresid"              "SSfpl"                "proj"                
#> [190] "supsmu"               "qqnorm"               "end"                 
#> [193] "printCoefmat"         "princomp"             "aggregate.data.frame"
#> [196] "dnbinom"              "lm.influence"         "rect.hclust"         
#> [199] "convolve"             "ansari.test"          "median.default"      
#> [202] "ARMAacf"              "poly"                 "NLSstRtAsymptote"    
#> [205] "power.t.test"         "write.ftable"         "qhyper"              
#> [208] "polym"                "weights"              "dhyper"              
#> [211] "contrasts<-"          "kernel"               "friedman.test"       
#> [214] "acf"                  "qwilcox"              "filter"              
#> [217] "lm.fit"               "rpois"                "cmdscale"            
#> [220] "factor.scope"         "Gamma"                "pweibull"            
#> [223] "pchisq"               "ksmooth"              "symnum"              
#> [226] "smooth"               "quasipoisson"         "ppr"                 
#> [229] "spec.ar"              "pnbinom"              "coefficients"        
#> [232] "model.offset"         "dbeta"                "SSasympOff"          
#> [235] "pbirthday"            "replications"         "ar.ols"              
#> [238] "rhyper"               "spectrum"             "lm"                  
#> [241] "expand.model.frame"   "kernapply"            "bw.nrd0"             
#> [244] "stl"                  "loess"                "IQR"                 
#> [247] "qgeom"                "contr.helmert"        "na.pass"             
#> [250] "toeplitz"             "pairwise.t.test"      "dist"                
#> [253] ".getXlevels"          "NLSstClosestX"        "getInitial"          
#> [256] "sigma"                "qchisq"               "contr.poly"          
#> [259] "dchisq"               "spline"               "qunif"               
#> [262] "confint"              "pairwise.table"       "SSasympOrig"         
#> [265] "pexp"                 "plot.spec.phase"      "density.default"     
#> [268] "medpolish"            "ptukey"               "cancor"              
#> [271] "Box.test"             "TukeyHSD"             "rnorm"               
#> [274] "var.test"             "poisson"              "bartlett.test"       
#> [277] "summary.stepfun"      "na.fail"              "model.frame"         
#> [280] "covratio"             "contrasts"            "ar.burg"             
#> [283] "residuals.lm"         "df.residual"          "ts.intersect"        
#> [286] "power"                "SSlogis"              "glm"                 
#> [289] "rchisq"               "getCall"              "model.matrix.lm"     
#> [292] "chisq.test"           "coef"                 "step"                
#> [295] "ppoints"              "vcov"                 ".preformat.ts"       
#> [298] "qqplot"               "DF2formula"           "update.default"      
#> [301] "qtukey"               "quade.test"           "qpois"               
#> [304] "df.kernel"            "influence"            "qsmirnov"            
#> [307] "cutree"               "poisson.test"         "pf"                  
#> [310] "case.names"           "frequency"            "tsdiag"              
#> [313] "qweibull"             "NLSstLfAsymptote"     "kmeans"              
#> [316] "weighted.residuals"   "mauchly.test"         "napredict"           
#> [319] "qexp"                 "deriv"                "var"                 
#> [322] "aggregate.ts"         "rwilcox"              "SSbiexp"             
#> [325] "pt"                   "rsmirnov"             "qf"                  
#> [328] "xtabs"                "kruskal.test"         "median"              
#> [331] "as.hclust"            "termplot"             "rweibull"            
#> [334] "resid"                "pgeom"                "qnbinom"             
#> [337] "se.contrast"          "summary.manova"       "prcomp"              
#> [340] "preplot"              "plot.ecdf"            "qr.influence"        
#> [343] "arima.sim"            "lm.wfit"              "ccf"                 
#> [346] "is.leaf"              "na.action"            "screeplot"           
#> [349] "approxfun"            "NLSstAsymptotic"      "order.dendrogram"    
#> [352] "cycle"                "power.free1way.test"  "qt"                  
#> [355] "rf"                   "punif"                "quasi"               
#> [358] "ts.plot"              "cov.wt"               "mood.test"           
#> [361] "PP.test"              "is.empty.model"       "loess.control"       
#> [364] "decompose"            "ppplot"               "aggregate"           
#> [367] "BIC"                  "reshape"              "makeARIMA"           
#> [370] "ARMAtoMA"             "weighted.mean"        "pbinom"              
#> [373] "selfStart"            "SSgompertz"           "qnorm"               
#> [376] "inverse.gaussian"     "na.omit"              "sd"                  
#> [379] "rt"                   "fft"                  "dcauchy"             
#> [382] "fivenum"              "toeplitz2"            "relevel"             
#> [385] "summary.glm"          "rexp"                 "monthplot"           
#> [388] "dfbeta"               "diffinv"              "nobs"                
#> [391] "SSmicmen"             "is.ts"                "dummy.coef.lm"       
#> [394] "hatvalues"            "variable.names"       "Pair"                
#> [397] "model.frame.default"  "anova"                "simulate"            
#> [400] "dffits"               "model.matrix.default" "contr.SAS"           
#> [403] "contr.treatment"      "predict.lm"           "prop.trend.test"     
#> [406] "as.dendrogram"        "ppois"                "pcauchy"             
#> [409] "smoothEnds"           "qbinom"               "hat"                 
#> [412] "p.adjust"             ".MFclass"             "dbinom"              
#> [415] "terms.formula"        "spec.taper"           "HoltWinters"         
#> [418] "ts"                   "na.exclude"           "dsignrank"           
#> [421] "is.tskernel"          "fitted.values"        "qsignrank"           
#> [424] "integrate"            "optimise"             "binomial"            
#> [427] "KalmanSmooth"         ".vcov.aliased"        "deltat"              
#> [430] "SSD"                  "summary.lm"           "smooth.spline"       
#> [433] "rstudent"             "hclust"               "density"             
#> [436] "dgeom"                "terms"                "fisher.test"         
#> [439] "rbinom"               "formula"              "nls.control"         
#> [442] "isoreg"               "contr.sum"            "uniroot"             
#> [445] "quasibinomial"        "dunif"                "influence.measures"  
#> [448] "na.contiguous"        "dfbetas"              "pairwise.prop.test"  
#> [451] "rnbinom"              "pnorm"                "rbeta"               
#> [454] "cpgram"               "knots"                "biplot"              
#> [457] "runmed"               "mad"                  "delete.response"     
#> [460] "plogis"               "read.ftable"          "aov"                 
#> [463] "update"               "StructTS"