knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of robustr is to compute robust estimators for univariate distributions
You can install the development version of robustr from GitHub with:
# install.packages("devtools") devtools::install_github("mvaldora/robustr")
This is a basic example which shows you how to solve a common problem:
library(robustr) library(MASS) x <- rnbinom(100, mu=2, size=1) rob_estimate_negbin(x) x <- rpois(100, 0.5) rob_estimate_poisson(x) ## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.