List all the objects, functions or data in a package.

LsObj(package)
LsFct(package)

Arguments

package

the name of the package

Details

This is just a wrapper for ls, ls.str and lsf.str with the appropriate arguments (as I always forgot how to do the trick). LsObj() lists all objects, LsFct() just the functions in a package.

References

Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.

Author

Andri Signorell <andri@signorell.net>

See also

Examples

LsFct("DescTools")
#>   [1] "%()%"                   "%(]%"                   "%)(%"                  
#>   [4] "%)[%"                   "%:%"                    "%::%"                  
#>   [7] "%[)%"                   "%[]%"                   "%](%"                  
#>  [10] "%][%"                   "%^%"                    "%c%"                   
#>  [13] "%like any%"             "%like%"                 "%nin%"                 
#>  [16] "%overlaps%"             "ABCCoords"              "AUC"                   
#>  [19] "Abind"                  "Abstract"               "AddMonths"             
#>  [22] "Agree"                  "AllDuplicated"          "AllIdentical"          
#>  [25] "AndersonDarlingTest"    "Append"                 "AppendRowNames"        
#>  [28] "AscToChar"              "Asp"                    "Assocs"                
#>  [31] "Atkinson"               "AxisBreak"              "BarText"               
#>  [34] "BarnardTest"            "BartelsRankTest"        "Bg"                    
#>  [37] "BhapkarTest"            "BinToDec"               "BinTree"               
#>  [40] "BinomCI"                "BinomCIn"               "BinomDiffCI"           
#>  [43] "BinomRatioCI"           "BlankIfNA"              "BootCI"                
#>  [46] "BoxCox"                 "BoxCoxInv"              "BoxCoxLambda"          
#>  [49] "BoxedText"              "BreslowDayTest"         "BreuschGodfreyTest"    
#>  [52] "BrierScore"             "BrierScoreCI"           "BubbleLegend"          
#>  [55] "CCC"                    "Canvas"                 "CartToPol"             
#>  [58] "CartToSph"              "CatTable"               "CharToAsc"             
#>  [61] "Clockwise"              "Closest"                "CmToPts"               
#>  [64] "CmyToCmyk"              "CmykToCmy"              "CmykToRgb"             
#>  [67] "Coalesce"               "CochranArmitageTest"    "CochranQTest"          
#>  [70] "CoefVar"                "CoefVarCI"              "CohenD"                
#>  [73] "CohenKappa"             "ColToGray"              "ColToGrey"             
#>  [76] "ColToHex"               "ColToHsv"               "ColToOpaque"           
#>  [79] "ColToRgb"               "CollapseTable"          "ColorLegend"           
#>  [82] "ColumnWrap"             "CombN"                  "CombPairs"             
#>  [85] "CombSet"                "CompleteColumns"        "ConDisPairs"           
#>  [88] "Conf"                   "ConnLines"              "ConoverTest"           
#>  [91] "ContCoef"               "Contrasts"              "ConvUnit"              
#>  [94] "Cor"                    "CorCI"                  "CorPart"               
#>  [97] "CorPolychor"            "CountCompCases"         "CountWorkDays"         
#> [100] "CourseData"             "Cov"                    "CramerV"               
#> [103] "CramerVonMisesTest"     "CronbachAlpha"          "Cross"                 
#> [106] "CrossN"                 "Cstat"                  "CstatCI"               
#> [109] "CutAge"                 "CutGen"                 "CutQ"                  
#> [112] "DB"                     "Day"                    "Day<-"                 
#> [115] "DecToBin"               "DecToHex"               "DecToOct"              
#> [118] "DegToRad"               "Desc"                   "DescToolsOptions"      
#> [121] "DiffDays360"            "DigitSum"               "DivCoef"               
#> [124] "DivCoefMax"             "Divisors"               "DoBy"                  
#> [127] "DoCall"                 "Dot"                    "Downloads"             
#> [130] "DrawArc"                "DrawBand"               "DrawBezier"            
#> [133] "DrawCircle"             "DrawEllipse"            "DrawRegPolygon"        
#> [136] "Dummy"                  "DunnTest"               "DunnettTest"           
#> [139] "DurbinWatsonTest"       "EX"                     "Entropy"               
#> [142] "Eps"                    "ErrBars"                "EtaSq"                 
#> [145] "ExpFreq"                "Factorize"              "Fade"                  
#> [148] "FctArgs"                "Fibonacci"              "FindColor"             
#> [151] "FindCorr"               "FindRProfile"           "FisherZ"               
#> [154] "FisherZInv"             "FixToTable"             "Flags"                 
#> [157] "Fmt"                    "FmtCI"                  "Format"                
#> [160] "Frac"                   "Freq"                   "Freq2D"                
#> [163] "GCD"                    "GTest"                  "GenRandGroups"         
#> [166] "GeomSn"                 "GeomTrans"              "GetCalls"              
#> [169] "GetCurrPP"              "GetCurrWrd"             "GetCurrXL"             
#> [172] "GetNewPP"               "GetNewWrd"              "GetNewXL"              
#> [175] "Gini"                   "GiniDeltas"             "GiniSimpson"           
#> [178] "Gmean"                  "GoodmanKruskalGamma"    "GoodmanKruskalTau"     
#> [181] "Gsd"                    "Herfindahl"             "HexToCol"              
#> [184] "HexToDec"               "HexToRgb"               "HighLow"               
#> [187] "Hmean"                  "HmsToMinute"            "HmsToSec"              
#> [190] "HodgesLehmann"          "HoeffD"                 "HosmerLemeshowTest"    
#> [193] "HotellingsT2Test"       "Hour"                   "HuberM"                
#> [196] "HunterGaston"           "ICC"                    "IPMT"                  
#> [199] "IQRw"                   "IRR"                    "IdentifyA"             
#> [202] "Impute"                 "ImputeKnn"              "InDots"                
#> [205] "Interval"               "IsDate"                 "IsDichotomous"         
#> [208] "IsEuclid"               "IsLeapYear"             "IsNumeric"             
#> [211] "IsOdd"                  "IsPrime"                "IsValidHwnd"           
#> [214] "IsWeekend"              "IsWhole"                "IsZero"                
#> [217] "JarqueBeraTest"         "JonckheereTerpstraTest" "KappaM"                
#> [220] "KendallTauA"            "KendallTauB"            "KendallW"              
#> [223] "Keywords"               "KrippAlpha"             "Kurt"                  
#> [226] "LCM"                    "LOCF"                   "LOF"                   
#> [229] "Label"                  "Label<-"                "Labels"                
#> [232] "Labels<-"               "Lambda"                 "Large"                 
#> [235] "LastDayOfMonth"         "Lc"                     "LehmacherTest"         
#> [238] "LeveneTest"             "LillieTest"             "LinScale"              
#> [241] "LineToUser"             "LogSt"                  "LogStInv"              
#> [244] "Logit"                  "LogitInv"               "LongToRgb"             
#> [247] "LsFct"                  "LsObj"                  "MAD"                   
#> [250] "MADCI"                  "MAE"                    "MAPE"                  
#> [253] "MHChisqTest"            "MSE"                    "Mar"                   
#> [256] "Margins"                "MaxDigits"              "Mean"                  
#> [259] "MeanAD"                 "MeanCI"                 "MeanCIn"               
#> [262] "MeanDiffCI"             "MeanSE"                 "Median"                
#> [265] "MedianCI"               "Mgp"                    "Mgsub"                 
#> [268] "Midx"                   "Minute"                 "MixColor"              
#> [271] "ModSummary"             "Mode"                   "Month"                 
#> [274] "MonthDays"              "MosesTest"              "MoveAvg"               
#> [277] "MultMerge"              "MultinomCI"             "MutInf"                
#> [280] "N"                      "NAIf"                   "NAIfBlank"             
#> [283] "NAIfZero"               "NALevel"                "NMAE"                  
#> [286] "NMSE"                   "NPV"                    "NPVFixBond"            
#> [289] "NZ"                     "Ndec"                   "NemenyiTest"           
#> [292] "Nf"                     "Now"                    "OPR"                   
#> [295] "ORToRelRisk"            "OctToDec"               "OddsRatio"             
#> [298] "OrderMixed"             "Outlier"                "Overlap"               
#> [301] "PDFManual"              "PMT"                    "PPMT"                  
#> [304] "PageTest"               "PairApply"              "Pal"                   
#> [307] "ParseFormula"           "ParseSASDatalines"      "PartialSD"             
#> [310] "PasswordDlg"            "PearsonTest"            "PercTable"             
#> [313] "PercentRank"            "Permn"                  "Phi"                   
#> [316] "Phrase"                 "PlotACF"                "PlotArea"              
#> [319] "PlotBag"                "PlotBagPairs"           "PlotBinTree"           
#> [322] "PlotBubble"             "PlotCandlestick"        "PlotCashFlow"          
#> [325] "PlotCirc"               "PlotConDens"            "PlotCorr"              
#> [328] "PlotDot"                "PlotDotCI"              "PlotECDF"              
#> [331] "PlotFaces"              "PlotFdist"              "PlotFun"               
#> [334] "PlotGACF"               "PlotLinesA"             "PlotLog"               
#> [337] "PlotMarDens"            "PlotMiss"               "PlotMonth"             
#> [340] "PlotMosaic"             "PlotMultiDens"          "PlotPairs"             
#> [343] "PlotPolar"              "PlotProbDist"           "PlotPyramid"           
#> [346] "PlotQQ"                 "PlotTernary"            "PlotTreemap"           
#> [349] "PlotVenn"               "PlotViolin"             "PlotWeb"               
#> [352] "PoissonCI"              "PolToCart"              "PolarGrid"             
#> [355] "PostHocTest"            "PpAddSlide"             "PpPlot"                
#> [358] "PpText"                 "Prec"                   "Primes"                
#> [361] "PseudoR2"               "PtInPoly"               "PtsToCm"               
#> [364] "Quantile"               "QuantileCI"             "Quarter"               
#> [367] "Quot"                   "RBAL"                   "RMSE"                  
#> [370] "RSessionAlive"          "RSqCI"                  "RTempdirAlive"         
#> [373] "RadToDeg"               "Range"                  "Rank"                  
#> [376] "ReadSPSS"               "Recode"                 "Recycle"               
#> [379] "RelRisk"                "Rename"                 "Rev"                   
#> [382] "RevCode"                "RgbToCmy"               "RgbToCol"              
#> [385] "RgbToHex"               "RgbToLong"              "RndPairs"              
#> [388] "RndWord"                "RobScale"               "RomanToInt"            
#> [391] "Rosenbluth"             "Rotate"                 "RoundTo"               
#> [394] "RunsTest"               "SD"                     "SDN"                   
#> [397] "SLN"                    "SMAPE"                  "SYD"                   
#> [400] "Sample"                 "SampleTwins"            "SaveAs"                
#> [403] "ScheffeTest"            "SecToHms"               "Second"                
#> [406] "SendOutlookMail"        "Sens"                   "SetAlpha"              
#> [409] "SetAttr"                "SetNames"               "Shade"                 
#> [412] "ShapiroFranciaTest"     "SiegelTukeyRank"        "SiegelTukeyTest"       
#> [415] "SignTest"               "Skew"                   "Small"                 
#> [418] "SmoothSpline"           "Some"                   "SomersDelta"           
#> [421] "Sort"                   "SortMixed"              "SpearmanRho"           
#> [424] "Spec"                   "SphToCart"              "SplitAt"               
#> [427] "SplitPath"              "SplitToCol"             "SplitToDummy"          
#> [430] "SpreadOut"              "Stamp"                  "StdCoef"               
#> [433] "Str"                    "StrAbbr"                "StrAlign"              
#> [436] "StrCap"                 "StrChop"                "StrCountW"             
#> [439] "StrDist"                "StrExtract"             "StrExtractBetween"     
#> [442] "StrIsNumeric"           "StrLeft"                "StrPad"                
#> [445] "StrPos"                 "StrRev"                 "StrRight"              
#> [448] "StrSpell"               "StrSplit"               "StrTrim"               
#> [451] "StrTrunc"               "StrVal"                 "Strata"                
#> [454] "StripAttr"              "StuartMaxwellTest"      "StuartTauC"            
#> [457] "SumCI"                  "SysInfo"                "TMod"                  
#> [460] "TOne"                   "TTestA"                 "TextContrastColor"     
#> [463] "TextToTable"            "TheilU"                 "Timezone"              
#> [466] "TitleRect"              "ToLong"                 "ToWide"                
#> [469] "ToWrd"                  "ToWrdB"                 "ToWrdPlot"             
#> [472] "ToXL"                   "Today"                  "Trim"                  
#> [475] "TschuprowT"             "TukeyBiweight"          "TwoGroups"             
#> [478] "UncertCoef"             "UnirootAll"             "Unit"                  
#> [481] "Unit<-"                 "Untable"                "Unwhich"               
#> [484] "VIF"                    "VanWaerdenTest"         "Var"                   
#> [487] "VarCI"                  "VarN"                   "VarTest"               
#> [490] "VarX"                   "VecRot"                 "VecShift"              
#> [493] "Vigenere"               "VonNeumannTest"         "Week"                  
#> [496] "Weekday"                "Winsorize"              "WithOptions"           
#> [499] "WoolfTest"              "WrdBookmark"            "WrdCaption"            
#> [502] "WrdCellRange"           "WrdDeleteBookmark"      "WrdFont"               
#> [505] "WrdFont<-"              "WrdFormatCells"         "WrdGoto"               
#> [508] "WrdInsertBookmark"      "WrdKill"                "WrdMergeCells"         
#> [511] "WrdOpenFile"            "WrdPageBreak"           "WrdParagraphFormat"    
#> [514] "WrdParagraphFormat<-"   "WrdPlot"                "WrdSaveAs"             
#> [517] "WrdStyle"               "WrdStyle<-"             "WrdTable"              
#> [520] "WrdTableBorders"        "WrdTableHeading"        "WrdUpdateBookmark"     
#> [523] "XLCurrReg"              "XLDateToPOSIXct"        "XLGetRange"            
#> [526] "XLGetWorkbook"          "XLKill"                 "XLNamedReg"            
#> [529] "XLSaveAs"               "XLView"                 "YTM"                   
#> [532] "Year"                   "YearDay"                "YearDays"              
#> [535] "YearMonth"              "YearWeek"               "YuenTTest"             
#> [538] "YuleQ"                  "YuleY"                  "ZTest"                 
#> [541] "ZeroIfNA"               "Zodiac"                 "aovlDetails"           
#> [544] "aovlErrorTerms"         "as.CDateFmt"            "as.fmt"                
#> [547] "as.matrix.xtabs"        "as.ym"                  "axTicks.Date"          
#> [550] "axTicks.POSIXct"        "createCOMReference"     "dBenf"                 
#> [553] "dExtrVal"               "dFrechet"               "dGenExtrVal"           
#> [556] "dGenPareto"             "dGompertz"              "dGumbel"               
#> [559] "dNegWeibull"            "dOrder"                 "dRevGumbel"            
#> [562] "dRevWeibull"            "dTri"                   "identify.formula"      
#> [565] "lines.Lc"               "lines.SmoothSpline"     "lines.lm"              
#> [568] "lines.loess"            "lines.smooth.spline"    "mbeta"                 
#> [571] "mbinom"                 "mchisq"                 "mexp"                  
#> [574] "mf"                     "mgamma"                 "mgeom"                 
#> [577] "mhyper"                 "mlnorm"                 "mnbinom"               
#> [580] "mnorm"                  "mpois"                  "mt"                    
#> [583] "pBenf"                  "pExtrVal"               "pFrechet"              
#> [586] "pGenExtrVal"            "pGenPareto"             "pGompertz"             
#> [589] "pGumbel"                "pNegWeibull"            "pOrder"                
#> [592] "pRevGumbel"             "pRevWeibull"            "pTri"                  
#> [595] "plot.Conf"              "plot.Lc"                "plot.Lclist"           
#> [598] "plot.PostHocTest"       "plot.bagplot"           "plot.palette"          
#> [601] "power.chisq.test"       "print.Assocs"           "print.Conf"            
#> [604] "print.CorPolychor"      "print.DunnTest"         "print.Freq"            
#> [607] "print.HoeffD"           "print.ICC"              "print.PercTable"       
#> [610] "print.PostHocTest"      "print.mtest"            "qBenf"                 
#> [613] "qExtrVal"               "qFrechet"               "qGenExtrVal"           
#> [616] "qGenPareto"             "qGompertz"              "qGumbel"               
#> [619] "qNegWeibull"            "qRevGumbel"             "qRevGumbelExp"         
#> [622] "qRevWeibull"            "qTri"                   "rBenf"                 
#> [625] "rExtrVal"               "rFrechet"               "rGenExtrVal"           
#> [628] "rGenPareto"             "rGompertz"              "rGumbel"               
#> [631] "rNegWeibull"            "rOrder"                 "rRevGumbel"            
#> [634] "rRevWeibull"            "rSum21"                 "rTri"                  
#> [637] "reorder.factor"         "split.formula"