Search all packages and functions
Readme not available 😞
Link to current version
GPL (>= 2)
November 12th, 2018
Functions in NCmisc (1.1.6)
Miscellaneous Functions for Creating Adaptive Functions and Scripts
Find the mode of a vector.
Extend an interval by percentage
Obtain an index of all instances of values with duplicates (ordered)
Internal NCmisc Functions
Convert Z-scores to p-values
Show all functions used in an R script file, by package
Estimate the memory required for an object.
Create variables from a list
Convert objects as arguments to object names
Determine whether a function can be applied to an S4 class/object
Check whether a given system command is installed (e.g, bash)
A more general dimension function
Unlist a list, starting only from a set depth.
Function to add commas for large numbers
Print heading text with a border.
A good way to preview large lists.
Create fake text for testing purposes
Output variable states within functions/loops during testing/debugging
Simulate a correlated variable
Return up to 22 distinct colours.
Tidy display function for matrix objects
Detect all available R repositories.
Convert p-values to Z-scores
Split a text file into multiple parts
Simulate a dataset with correlated measures
Check whether a set of packages has been loaded
Simple representation and retrieval of Date/Time
Print a character a specified number of times.
Posterior probability of association function
Output variable states within functions during testing/debugging
Draw a scatterplot with a fit line
Convert a numeric vector to Z-scores.
Force argument to be a percentage with length one
Creates a progess bar within a loop
Summary of RAM footprint for all R objects in the current session. Not my function, but taken from an R-Help response by Elizabeth Purdom, at Berkeley. Simply applies the function 'object.size' to the objects in ls(). Also very similar to an example in the 'Help' for the utils::object.size() function.
Do everything possible to load an R package.
Print a vector with appropriate padding so each has equal char length.
Return an object with missing values removed.
Find data thresholds corresponding to percentiles
Easily display fraction and percentages
Remove leading and trailing spaces (or other character).
Summarise the dimensions and type of available R example datasets
Make an ascii histogram in the console.
Return vector indexes of statistical univariate outliers
Search all CRAN packages for those containing keyword(s).
Force argument to be a numeric type with length one
Times an expression, with breakdown of time spent in each function
Monitor CPU, RAM and Processes
Return a string with each first letter of each word in upper case.
Wait for a period of time.
Create an index file for an R function file
Does object exist ignoring functions The exists() function can tell you whether an object exists at all, or whether an object exists with a certain type, but it can be useful to know whether an object exists as genuine data (and not a function) which can be important when a variable or object is accidently or intentionally given the same name as a function. This function usually returns a logical value as to the existence of the object (ignoring functions) but can also be set to return the non-function type if the object exists.