Giter Site home page Giter Site logo

helfrlein's Introduction

helfRlein

CircleCI

Overview

This package contains a collection of R helper functions. There are three main topics:

  • independent and stand alone functions (eg. burglr or dive)

  • general helper functions that ease our programing life

  • functions that ease our daily work and projects

Installation

# install.packages("devtools")
devtools::install_github("STATWORX/helfRlein")

List of functions

stand alone functions

  • burglr() A functions to source code from the web. You can find a detailed introduction to this function here.

  • dive() A debugging function for that will sort out the parameters for you. You can use it for example with Sublime. You can find a detailed introduction to this function here.

general helper functions

  • checkdir() Combines file.exists() and dir.create().

  • clean_gc() A function that calls gc() numerous times.

  • count_na() A functions that returns the number of missing values.

  • evenstrings() This function reduces and cuts a given string into parts with a fixed length.

  • get_sequence() A function that returns start and end indices that indicates where a given pattern occurs.

  • intersect2() This function returns the intersect between multiple vectors.

  • multiplot() A function to combine different ggplots into one plot.

  • na_omitlist() A function to remove missing values from a list.

  • %nin% A not in operator.

  • read_files() Reads in a list of files and combines them into one data.table.

  • statusbar() A progress bar for for-loops.

  • strsplit() This functions uses adds the possibility to keep the delimiter after, before or between a given split.

  • to_na() Takes out NaN and Inf values and replaces them with NA.

  • trim() Removes leading and or trailing whitespaces.

    โ€‹

project functions

  • get_files() A functions for finding patterns in R Files.
  • get_network() A function that visualises the connections between UDF within your project. You can find a detailed introduction to this function here.
  • object_size_in_env() Lists all objects with their size in a given environment.
  • print_fs() This function prints the folder and file structure of a given path.
  • sci_palette() A functions that shows STATWORX's CI colours.
  • statworx_palette() This functions creates a colour palette based on our CI colours.

helfrlein's People

Contributors

danielluettgau2 avatar dschaykib avatar martalbers avatar mhenderson avatar stemicha avatar tkrabel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.