This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(survival) | |
library(ggplot2) | |
## extension to geom_ribbon (from https://groups.google.com/forum/?fromgroups=#!topic/ggplot2/9cFWHaH1CPs) | |
stairstepn <- function(data, direction="hv", yvars="y") { | |
direction <- match.arg( direction, c( "hv", "vh" ) ) | |
data <- as.data.frame( data )[ order( data$x ), ] | |
n <- nrow( data ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "kableExtra short.caption issue in bookdown" | |
output: | |
bookdown::pdf_book: | |
keep_tex: yes | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
``` |