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