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