Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

usefun

Travis build status codecov CRAN status Downloads

A set of miscellaneous functions that I have used in various projects and in other R packages. Some of the most important are:

  • get_roc_stats: the ROC statistics the way you want it!
  • normalize_to_range: normalize a vector to a specified range
  • dec_to_bin: convert a decimal number to its binary representation
  • get_percentage_of_matches: find the percentage of common elements between two vectors
  • pretty_print_*: pretty printing of vector names and values in an R Markdown document (as quotes)
  • outersect: find the non-common elements between two vectors (outer-section!)
  • ldf_arrange_by_rownames: rearrange a list of data frames by rownames
  • make_multiple_density_plot: plotting multiple density estimations in one plot
  • usefun:::colors.100: a vector of 100 as much as possible distinct colors

Install

CRAN version:

install.packages("usefun")

Development version:

devtools::install_github("bblodfon/usefun")

Examples

See examples in the functions documentation and in the respective tests. Also various functions from this package have been used in this biomarker analysis.

You can’t perform that action at this time.