Nothing
# Experiments with tau = 0
tau <- 0
source("gamma.R", echo = TRUE)
save(p, cf, file = "null.rda")
# Experiments with tau = 0.5
tau <- 0.5
source("gamma.R", echo = TRUE)
save(p, cf, file = "one.rda")
# Summarize and save results
load("null.rda")
p0 <- p
cf0 <- cf
load("one.rda")
p1 <- p
cf1 <- cf
d <- expand.grid(i = 1:nrow(p),
method = factor(colnames(p), levels = colnames(p)),
setup = factor(c("log-HR = 0", "log-HR = 0.5")))
d$pval <- c(p0, p1)
d$cf <- c(cf0, cf1)
save(d, file = "misspec.rda")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.