Miscellaneous Tools for Analyzing Data in Rows and Columns

analyze.stuff | Basic Tools for Analyzing Datasets |

calc.fields | Create calculated fields by specifying formulas |

change.fieldnames | Change some or all of the colnames of a data.frame or matrix... |

colMaxs | Get the max value of each column of a data.frame or matrix |

colMins | Returns the min value of each column of a data.frame or... |

cols.above.count | Number of Columns with Value at or above Cutoff |

cols.above.pct | Percent of Columns with Value at or above Cutoff |

cols.above.which | Does each Column have a Value at or above Cutoff(s) |

count.above | Number or percent of rows (for each col) where value exceeds... |

count.below | Number or percent of rows (for each col) where value is below... |

count.words | Word Frequency in a Text File |

dir2 | Directory listing using wildcard search |

dirdirs | Directory listing of R-related files/folders |

dirr | Directory listing of R-related files/folders |

download.files | Try to download one or more files |

expand.gridMatrix | Similar to expand.grid, but returns a matrix not data.frame |

factor.as.numeric | Handle Numbers Stored as Factors |

findArgs | Get the arguments of a function |

formatcomma | Print numbers with commas and 0-2 decimal places |

geomean | Geometric mean |

get.os | Windows or Mac? |

harmean | Harmonic mean |

installrequired | Require a list of packages, downloading and installing if... |

intersperse | Intersperse the elements of a vector, mixing 2d half of the... |

lead.zeroes | Add leading zeroes as needed |

length2 | Length of a list with or without NA values |

linefit | Add fit lines to a scatter plot |

linesofcode | Counts lines of source code in .R files of package source |

logposneg | log10(x) if positive, 0 if 0, -log10(-x) if negative |

mem | See what is using up memory |

minNonzero | Find minimum non-zero number(s) - BUT EXCLUDES COLUMNS THAT... |

na.check | Basic info on each col of data.frame |

na.check2 | Basic info on each col of data.frame - testing faster way,... |

names2 | Print names(data.frame) commented out for easy pasting into... |

normalized | Normalize raw scores as ratio of score to wtd mean |

os | Windows, Mac, or other Unix? |

overlaps | Counts for Intersect, Union, etc. for Two Sets |

pause | Pause and wait specified number of seconds |

pct.above | Number or percent of rows (for each col) where value exceeds... |

pct.below | Number or percent of rows (for each col) where value is below... |

pctiles | Show the rounded values at 100 percentiles |

pctiles.a.over.b | Show the rounded values at 100 percentiles for a/b (or zero... |

pctiles.exact | Show the not-rounded values at 100 percentiles |

pdf2 | Overlay two simple histograms (pdf=probability density... |

put.first | Simple way to put certain cols first, in a data.frame |

rmall | Help removing all objects from memory |

rms | Root Mean Square (RMS), or Quadratic Mean |

rowMaxs | Returns the max value of each row of a data.frame or matrix |

rowMins | Returns the min value of each row of a data.frame or matrix |

rows.above.count | Number or percent of rows (for each col) where value exceeds... |

rows.above.pct | Number or percent of rows (for each col) where value exceeds... |

rows.above.which | Does each Row have a Value at or above Cutoff(s) |

rows.below.count | Number or percent of rows (for each col) where value is below... |

rows.below.pct | Number or percent of rows (for each col) where value is below... |

setdiff2 | Differences between sets a and b |

signifarray | Specify Significant Digits for Each Column |

similar | See how closely numeric values match in 2 datasets |

similar.p | See how closely numeric values match in 2 datasets |

tabular | Format a table in roxygen documentation of function in a... |

unzip.files | Unzip multiple zip files |

wtd.colMeans | Weighted Mean of each Column - WORK IN PROGRESS (NA HANDLING... |

wtd.colMeans2 | Weighted Mean of each Column - WORK IN PROGRESS |

wtd.pctiles | Show the rounded values at 100 weighted percentiles |

wtd.pctiles.exact | Show the values at 100 weighted percentiles |

wtd.pctiles.fast | Show the values at 100 weighted percentiles |

wtd.rowMeans | Weighted Mean of each Row - WORK IN PROGRESS |

wtd.rowSums | Weighted Sum of each Row |

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.