Description Usage Arguments Examples
Set graphical parameters
1 | set_base_sty(theme = NA, variation = 2)
|
theme |
A string corresponding to one of the 31 themes available in RStudio (see |
variation |
An integer ranging from 0 to 5 to select among 6 flavors for each theme. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
set_base_sty()
## End(Not run)
require(default)
set_base_sty("Tomorrow Night", 3)
hist(rnorm(100))
plot(iris$Sepal.Length, iris$Petal.Length)
barplot(1:10, names.arg = LETTERS[1:10])
boxplot(iris$Sepal.Length ~ iris$Species)
image(volcano)
par(mfrow = c(2, 3))
x <- rnorm(100)
for(i in list_pal()){
for(j in 0:5){
set_base_sty(i, variation = j)
hist(x)
title(paste(i, j))
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.