Smisc: Sego Miscellaneous

A collection of functions for statistical computing and data manipulation in R. Includes routines for data ingestion, operating on dataframes and matrices, conversion to and from lists, converting factors, filename manipulation, programming utilities, parallelization, plotting, statistical and mathematical operations, and time series.

Author
Landon Sego [aut, cre]
Date of publication
2016-06-23 09:05:09
Maintainer
Landon Sego <Landon.Sego@pnnl.gov>
License
BSD_3_clause + file LICENSE
Version
0.3.6
URLs

View on CRAN

Man pages

allMissing
Identifies missing rows or columns in a data frame or matrix
as.numericSilent
Convert any vector to numeric, if possible
comboList
Produces all possible combinations of a set of linear model...
cumMax
Computes the maximum of the vector up to the current index
cumsumNA
Computes the cummulative sum of a vector without propagating...
cusum
Calculates a sequence of Cusum statistics
dataIn
A flexible way to import data into R.
df2list
Row-wise conversion of a data frame to a list
dfplapply
Parallelized single row processing of a data frame
dframeEquiv
Examines the equivalence of two dataframes or matrices
dkbinom
Probability functions for the sum of k independent binomials
doCallParallel
Call a function with a vectorized input in parallel
factor2character
Converts all factor variables in a dataframe to character...
factor2numeric
A simple function for converting factors to numeric values
findDepMat
Identify linearly dependent rows or columns in a matrix
formatDT
Converts date or datetime strings into alternate formats
generics
Generic for 'signal'
getExtension
Get the extension of a vector of filenames
getPath
Get the path of a vector of filenames
grabLast
Get the final set of characters after a single-character...
hardCode
Facilitate hard coding constants into R
hpd
Calculate the highest posterior density credible interval for...
integ
Simple numerical integration routine
linearMap
Linear mapping of a numeric vector or scalar
list2df
Convert a list to a data frame
loadObject
Loads and returns the object(s) in one or more ".Rdata" files
more
Display the contents of a file to the R console
movAvg2
Calculate the moving average using a 2-sided, symmetric...
openDevice
Opens a graphics device based on the filename extension
padZero
Pad a vector of numbers with zeros
parLapplyW
A wrapper for parLapply
parseJob
Parses a collection of elements into (almost) equal-sized...
pcbinom
A continuous version of the binomial cdf
pddply
Parallel wrapper for plyr::ddply
plapply
Simple parallelization of lapply
plotFun
Plot one or more functions on a single plot
PowerData
An example of power data
pvar
Prints the name and value of one or more objects
qbind
Quickly row and column bind many objects together at once
rma
Remove all objects from the global environment
select
Select rows or columns from data frames or matrices while...
selectElements
Validate selected elements from a character vector
sepList
Separate a list into distinct objects
smartFilter
Calculate a moving dot product (or filter) over a numeric...
smartRbindMat
Row bind matrices whose column names may not be the same
smartTimeAxis
Produces a time axis with smart spacing
Smisc-package
Smisc: Sego Miscellaneous
sourceDir
Sources all files with '.R' or '.r' extensions in a directory
stopifnotMsg
Check multiple conditions and return coresponding error...
stripExtension
Remove the extension of a vector of filenames
stripPath
Remove the path from a vector of filenames
timeData
Generic data frame with a time variable
timeDiff
Subtracts two time series by matching irregular time indexes
timeDiff.eg
Four short time series
timeIntegration
Approximate the integral of a vector of data over time
timeIt
Times the execution of an expression.
timeStamp
Embeds the present datetime into a file name
umvueLN
Computes UMVUEs of lognormal parameters
vertErrorBar
Draw vertical error bar(s) on a plot

Files in this package

Smisc
Smisc/TODO
Smisc/inst
Smisc/inst/CITATION
Smisc/inst/misc
Smisc/inst/misc/in_development
Smisc/inst/misc/in_development/smartRbindDF.R
Smisc/inst/misc/deprecated
Smisc/inst/misc/deprecated/d2binom.R
Smisc/inst/misc/deprecated/validEmailAddress.R
Smisc/inst/misc/deprecated/filenameManipulation.R
Smisc/inst/misc/deprecated/LICENSE
Smisc/inst/doc
Smisc/inst/doc/Smisc_tutorial.html
Smisc/tests
Smisc/tests/runtest
Smisc/tests/testthat.R
Smisc/tests/testthat
Smisc/tests/testthat/test_pddply.R
Smisc/tests/testthat/test_timeIntegration.R
Smisc/tests/testthat/test_padZero.R
Smisc/tests/testthat/test_vertErrorBar.R
Smisc/tests/testthat/test_parLapplyW.R
Smisc/tests/testthat/test_plotFun.R
Smisc/tests/testthat/test_stripExtension.R
Smisc/tests/testthat/test_timeStamp.R
Smisc/tests/testthat/test_rma.R
Smisc/tests/testthat/test_cumsumNA.R
Smisc/tests/testthat/test_as.numericSilent.R
Smisc/tests/testthat/function_list.txt
Smisc/tests/testthat/test_doCallParallel.R
Smisc/tests/testthat/test_dfplapply.R
Smisc/tests/testthat/test_hardCode.R
Smisc/tests/testthat/test_umvueLN.R
Smisc/tests/testthat/test_select.R
Smisc/tests/testthat/test_pvar.R
Smisc/tests/testthat/test_integ.R
Smisc/tests/testthat/test_parseJob.R
Smisc/tests/testthat/test_more.R
Smisc/tests/testthat/validationData
Smisc/tests/testthat/validationData/parseJob.Rdata
Smisc/tests/testthat/test_dkbinom.R
Smisc/tests/testthat/test_cumMax.R
Smisc/tests/testthat/test_plapply.R
Smisc/tests/testthat/test_openDevice.R
Smisc/tests/testthat/test_allMissing.R
Smisc/src
Smisc/src/psi_n_t.c
Smisc/src/pkbinom.c
Smisc/src/cumsumNA.c
Smisc/src/smartFilter.c
Smisc/src/max.le.i.c
Smisc/src/cusum.c
Smisc/src/convolv2binom.c
Smisc/src/dkbinom.c
Smisc/NAMESPACE
Smisc/NEWS.md
Smisc/data
Smisc/data/PowerData.RData
Smisc/data/timeDiff.eg.RData
Smisc/data/timeData.rda
Smisc/R
Smisc/R/select.R
Smisc/R/dkbinom.R
Smisc/R/cumMax.R
Smisc/R/list2df.R
Smisc/R/linearMap.R
Smisc/R/plapply.R
Smisc/R/Smisc-package.R
Smisc/R/parLapplyW.R
Smisc/R/factor2numeric.R
Smisc/R/cumsumNA.R
Smisc/R/umvueLN.R
Smisc/R/as.numericSilent.R
Smisc/R/cusum.R
Smisc/R/plotFun.R
Smisc/R/pddply.R
Smisc/R/factor2character.R
Smisc/R/unload_Smisc.R
Smisc/R/more.R
Smisc/R/generics.R
Smisc/R/getPath.R
Smisc/R/PowerData.R
Smisc/R/timeIntegration.R
Smisc/R/sourceDir.R
Smisc/R/timeIt.R
Smisc/R/comboList.R
Smisc/R/dataIn.R
Smisc/R/timeDiff.R
Smisc/R/smartTimeAxis.R
Smisc/R/doCallParallel.R
Smisc/R/grabLast.R
Smisc/R/sepList.R
Smisc/R/df2list.R
Smisc/R/loadObject.R
Smisc/R/parseJob.R
Smisc/R/smartFilter.R
Smisc/R/formatDT.R
Smisc/R/findDepMat.R
Smisc/R/stripPath.R
Smisc/R/timeStamp.R
Smisc/R/timeDiff.eg.R
Smisc/R/pcbinom.R
Smisc/R/stripExtension.R
Smisc/R/smartRbindMat.R
Smisc/R/helper_functions.R
Smisc/R/vertErrorBar.R
Smisc/R/getExtension.R
Smisc/R/timeData.R
Smisc/R/hardCode.R
Smisc/R/allMissing.R
Smisc/R/stopifnotMsg.R
Smisc/R/selectElements.R
Smisc/R/dframeEquiv.R
Smisc/R/qbind.R
Smisc/R/padZero.R
Smisc/R/openDevice.R
Smisc/R/movAvg2.R
Smisc/R/integ.R
Smisc/R/rma.R
Smisc/R/hpd.R
Smisc/R/dfplappy.R
Smisc/R/pvar.R
Smisc/README.md
Smisc/MD5
Smisc/DESCRIPTION
Smisc/man
Smisc/man/grabLast.Rd
Smisc/man/formatDT.Rd
Smisc/man/timeDiff.eg.Rd
Smisc/man/dfplapply.Rd
Smisc/man/factor2numeric.Rd
Smisc/man/stopifnotMsg.Rd
Smisc/man/findDepMat.Rd
Smisc/man/cusum.Rd
Smisc/man/qbind.Rd
Smisc/man/dataIn.Rd
Smisc/man/sourceDir.Rd
Smisc/man/more.Rd
Smisc/man/integ.Rd
Smisc/man/movAvg2.Rd
Smisc/man/selectElements.Rd
Smisc/man/parLapplyW.Rd
Smisc/man/openDevice.Rd
Smisc/man/rma.Rd
Smisc/man/hardCode.Rd
Smisc/man/timeData.Rd
Smisc/man/timeIt.Rd
Smisc/man/PowerData.Rd
Smisc/man/sepList.Rd
Smisc/man/umvueLN.Rd
Smisc/man/allMissing.Rd
Smisc/man/smartTimeAxis.Rd
Smisc/man/plotFun.Rd
Smisc/man/pvar.Rd
Smisc/man/timeDiff.Rd
Smisc/man/pddply.Rd
Smisc/man/generics.Rd
Smisc/man/pcbinom.Rd
Smisc/man/linearMap.Rd
Smisc/man/plapply.Rd
Smisc/man/padZero.Rd
Smisc/man/comboList.Rd
Smisc/man/as.numericSilent.Rd
Smisc/man/Smisc-package.Rd
Smisc/man/stripPath.Rd
Smisc/man/factor2character.Rd
Smisc/man/stripExtension.Rd
Smisc/man/dframeEquiv.Rd
Smisc/man/cumMax.Rd
Smisc/man/list2df.Rd
Smisc/man/vertErrorBar.Rd
Smisc/man/doCallParallel.Rd
Smisc/man/dkbinom.Rd
Smisc/man/parseJob.Rd
Smisc/man/getPath.Rd
Smisc/man/getExtension.Rd
Smisc/man/loadObject.Rd
Smisc/man/timeStamp.Rd
Smisc/man/cumsumNA.Rd
Smisc/man/smartRbindMat.Rd
Smisc/man/df2list.Rd
Smisc/man/timeIntegration.Rd
Smisc/man/smartFilter.Rd
Smisc/man/hpd.Rd
Smisc/man/select.Rd
Smisc/LICENSE