inst/doc/maraca.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----echo=FALSE---------------------------------------------------------------
knitr::include_graphics("hex-hce.png", dpi = 1000)

## ----setup--------------------------------------------------------------------
library(hce)
packageVersion("hce")

## ----eval=FALSE---------------------------------------------------------------
#  library(maraca)
#  Rates_A <- 10
#  Rates_P <- 15
#  dat <- simHCE(n = 1000, n0 = 500, TTE_A = Rates_A, TTE_P = Rates_P,
#                CM_A = 0.2, CM_P = 0, seed = 2, shape = 0.35)
#  plot(dat)

## ----echo=FALSE---------------------------------------------------------------
knitr::include_graphics("maraca.png", dpi = 100)

Try the hce package in your browser

Any scripts or data that you put into this service are public.

hce documentation built on Oct. 16, 2024, 9:06 a.m.