knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of simpar is to create parameters for simulation with uncertainty.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("metrumresearchgroup/simpar")
This is a basic example which shows you how to do a basic simulation:
library(simpar) theta <- c(1,2,3)/10 covar <- diag(0.1, 3) omega <- matrix(1) sigma <- matrix(0.025) simpar(10, theta, covar, omega, sigma, odf = 100, sdf = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.