Sego Miscellaneous

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 text 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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.