This is a minimum use case example of the javascript library slid3r
. It appends a slider into any SVG context you desire. See the library's main repo for more information.
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: "Homework6" | |
author: "Ben Lane" | |
date: "11/22/2017" | |
output: pdf_document | |
--- | |
### Grade 44/50 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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(tidyverse) | |
data_frame( | |
x = 1:100, | |
y = rnorm(100) | |
) %>% | |
mutate( y_quartile = ntile(y, 4) ) %>% | |
head(5) | |
# # A tibble: 5 x 3 |
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(tidyverse) | |
data_frame( | |
x = 1:100, | |
y = rnorm(100) | |
) %>% | |
mutate( y_quartile = ntile(y, 4) ) %>% | |
head(5) | |
# # A tibble: 5 x 3 |
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(tidyverse) | |
data_frame( | |
x = 1:20, | |
y = rnorm(20) | |
) %>% | |
mutate( y_tertile = ntile(y, 3) ) |
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
height: 660 |
An animated random walk using a uniform distribution to decide the angle of departure.
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
license: gpl-3.0 |
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
license: gpl-3.0 |