knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of rAfrica is to train participants on how to develop a simple package.
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")
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.