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