knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

rAfrica

The goal of rAfrica is to train participants on how to develop a simple package.

Installation

You can install the released version of rAfrica from CRAN with:

install.packages("rAfrica")

Note: This package is not yet on CRAN

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("Shelmith-Kariuki/rAfrica")

Example

This is a basic example which shows you how to solve a common problem:

library(rAfrica)

## jumla function
summation <- jumla(10,20)
summation

## counter function
my_tab <- counter(infert, "case")
my_tab


Shelmith-Kariuki/rAfrica documentation built on Oct. 11, 2020, 12:50 a.m.