I hereby claim:
- I am jenniferthompson on github.
- I am jenniferthompson (https://keybase.io/jenniferthompson) on keybase.
- I have a public key ASDk9qsfjlsluw5unnF0zZJIH0k4dSZe9vcYsVAjR42VyAo
To claim this, I am signing this object:
--- | |
title: "Example Data Dictionary" | |
author: "Jennifer Thompson" | |
date: "11/1/2018" | |
output: | |
html_document: | |
theme: yeti | |
code_folding: hide | |
--- |
## Work through examples in multistateutils docs | |
library(mstate) | |
library(flexsurv) | |
library(multistateutils) | |
data(ebmt3) | |
tmat <- trans.illdeath(c('transplant', 'pr', 'rfs')) | |
tmat |
library(ggplot2) | |
ggplot( | |
data = subset( | |
diamonds, cut %in% c("Fair", "Good") & | |
color %in% LETTERS[4:5] | |
), | |
aes(x = carat, y = price) | |
) + | |
facet_wrap(~ cut + color, nrow = 1) + |
jmj.org <- 3975.77 | |
ja.org <- 3250 | |
gf.org <- 4139.18 | |
gf.refund <- 2874.00 | |
jmj.refund <- 2694.75 | |
total.org <- jmj.org + ja.org + gf.org | |
total.refund <- gf.refund + jmj.refund |
################################################################################ | |
## Example code for generating side-by-side boxplots + raw data and ridgeplots | |
## NOTE: Uses Thomas Lin Pedersen's patchwork package, not yet on CRAN @ writing | |
################################################################################ | |
## devtools::install_github("thomasp85/patchwork") | |
library(patchwork) | |
library(ggridges) | |
library(tidyverse) | |
## for data generation & management; could do this with base, of course, but I |
--- | |
title: "Testing survminer blank spaces" | |
output: html_notebook | |
--- | |
I'm getting a huge blank space when printing results from `ggsurvminer()`, as noted in [this StackOverflow post](https://stackoverflow.com/questions/42479112/survival-plots-with-survminer-blank-plot). Let's see if it does the same in a fresh session/other OS. | |
```{r} | |
library(survival) | |
library(survminer) |
## Doesn't include: salt, pepper, oil, vanilla, honey, baking soda, nutmeg, Dijon mustard, red wine vinegar, spices I know I have | |
library(tidyverse) | |
## How many batches of chocolate babka muffins? I originally started with 2 but | |
## more people RSVPed... | |
babka_batches <- 3 | |
brunch_list <- tribble( | |
~ Dish, ~ Homemade, ~ Time, ~ Ingredients, |
I hereby claim:
To claim this, I am signing this object: