Learn R Programming

rccmisc

Miscellaneous R functions for the Regional Cancer Centers. This package is intended as one of the dependent packages for rcc.

Install

If not installed as dependent for rcc, it can also be installed using devtools:

devtools::install_bitbucket("cancercentrum/rccmisc")

Introduction

The package contains vignettes! Please use browseVignettes("rccmisc") after installing or watch online: https://htmlpreview.github.io/?https://bitbucket.org/cancercentrum/rccmisc/raw/0d36cbf51632e5bc5e6ee61b099a395bb542629f/vignettes/rccmisc.html

Copy Link

Version

Install

install.packages('rccmisc')

Monthly Downloads

6

Version

0.3.7

License

GPL-2

Maintainer

Erik Bulow

Last Published

December 6th, 2016

Functions in rccmisc (0.3.7)

clean_text

Clean/standardize text
exceed_threshold

Check if transformation/coercing of a vector is good enaough
findvar

Find variables by name
cut.integer

Convert integer vector to Factor
change_col_name

Change one column name of a data.frame
is.scalar_in

Test if scalar is in intervall
as_numeric

Test object for, or coerce to, numeric
is.inca

Are we running on INCA?
best_match

Tries to correct misspelling of character string
create_s3_method

Template functions to generate basic S3 methods for new classes
width

Calculate the width of the range of x
specify_missing

Specify missing values for a vector
lownames

Make all names in data.frame lower case
make_r_script

Dump skript together with all functions from package
is.wholenumber

Test if a numeric vector consists of whole numbers
psum

Parallel sum
rccmisc

Miscellaneous R functions for the Regional Cancer Centers
safe_ifelse

A safe alternative to ifelse