Skip to content

rcg798/rfunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Writing functions in R

Author: Rachael Gilbert <[email protected]>
License: Public domain
Source: https://github.com/rcg798/rfunc

Purpose

This was to familiarize myself with writing functions to speed up things I have to do often!

Summary

Given two data sets (dfA and dfB), I wrote a function to do the following:

  • Merge them
  • Print the number of rows from the returned dataset in dfA AND dfB
  • Print the number of rows from the returned dataset in dfA BUT NOT dfB
  • Print the number of rows from the returned dataset in dfB BUT NOT dfA
  • Print some diagnostic statistics

About

Writing functions in R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages