Yet another package of misc functions

addCartesianSystem | Add cartesian system to a plot |

addGrid | Add grid to a plot |

avgSurv | Model-based adjusted survival curves. |

blockrand2randlist | Create a randomization list from a list of blockrand... |

bmi | Calculate Body Mass Index |

censorAt | Censor time to event end point at a certain time. |

chi_or_fisher_test | perform Chi-square or Fisher test as appropriate |

Class | Extract class smartly |

col2hex | Return an hex color |

commaChar2Numeric | Convert a char with comma to a numeric |

Comment | Print a message inside an Ascii border |

compareColumns | Compare columns progressively |

cramerV | Cramer's V calculator. |

cutoffDA | Calculate diagnostic accuracy measures for several cutoffs of... |

da | Calculate diagnostic accuracy measures for binary measures... |

dadb | Generate a data.frame of diagnostic accuracy study. |

dateMDY | Create a 'Date' from month, day and year. |

datePlus | Add a period of time to a Date object |

Days | Extract numeric days of month from a 'Date', 'POSIXct' or... |

daysToMonths | Trivial function that converts number of days in number of... |

daysToYears | Trivial function that converts number of days in number of... |

dir_clean | Remove all files in a directory. |

dummy | Generate a data.frame of dummy variables given a vector |

Duplicated | Determine all duplicate elements |

encapsulate | Encapsulate text between margins. |

eng_maxima | A maxima engine for knitr |

enSummary | Enhanced summary |

fisherNeeded | Is fisher test needed |

fupCompleteness | Calculate C index of of follow up completenes |

getAccessTable | Retrieve an MS Access (R) table from an 'mdb' or 'accdb'... |

getExcelSheet | Retrieve an MS Excel (R) sheet from an 'xls' or 'xlsx' file. |

grapes-inRange-grapes | Check if in range |

groupProgID | Group progressive id creator |

hint | Suggest some available methods about and object |

Hours | Extract numeric hours of month from a POSIXct or POSIXlt... |

inches | Translates from cm (centimeters) to inches. |

is_unique | check if a object is unique |

km | Plots an 'enhanced' Kaplan-Meier plot, with base graphics... |

makePath | Path-function generator. |

Minutes | Extract numeric minutes of month from a POSIXct or POSIXlt... |

Months | Extract numeric months of the year from a Date, POSIXct or... |

NAreport | Report NA variables per case |

nin | Inverse Value Matching |

pairsWithLowess | Scatterplot Matrices with a lowess smoother |

preprocessVarnames | Preprocess data.frame variable names |

prettyPval | Pretty print for p-values |

quickROC | A quick ROC plot. |

recode | Vector recode utility |

rmAccents | Remove accents from a character vector |

rmSpaces | Remove spaces from a character vector |

rmUnprintableChars | Remove unprintable chars |

setup_errors | Descriptive statistics for setup errors in radiotherapy |

showCol | Show R colors for graphics and grid package |

showPch | Show 'pch' |

sirCI | Exact CI (and estimate) for SIR/SMR |

smartyMRSplitter | Smarty Multiple Response Splitter |

Table | Cross tabulation and table creation |

to_00_char | Transform an integer vector to a character prefixed by an... |

tteep | Common time to event end-points calculator. |

univTable | Univariate table with absolute, relative, cumulative... |

unoconv | Unoconv file converter from R |

update_packages | update package shortcut |

view | Alternative to View that uses openXL |

without | Remove elements from a vector, chosing from another vector |

write_delim | Write a tab separated file with "." as decimal separator. |

write_delim2 | Write a tab separated file with "," as decimal separator. |

write_sas | Slightly enhanced writeForeignSAS |

xlxp | Faster export with openxlsx |

xtable_descriptives | Pretty print data.frame summary in xtables |

xtile | Cut numeric x in quantile |

yapomif | Yet another package of misc functions |

Years | Extract numeric years from a Date, POSIXct or POSIXlt vector. |

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.