-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.Rhistory
81 lines (81 loc) · 2.31 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
hugo new publication/my-paper-name.md
install.packages("rticles")
blogdown:::serve_site()
blogdown::install_hugo()
hugo new post/test-post.md
library("hugo")
devtools::install_github("hugo")
devtools::install_github(rstudio/hugo)
devtools::install_github("rstudio/hugo")
install.packages("blogdown")
hugo new post/test-post.md
blogdown::install_hugo().
blogdown::install_hugo()
hugo
public
hugo version
blogdown::hugo_version
blogdown::hugo hugo_version()
blogdown:: hugo version
blogdown::hugo_version
blogdown::hugo_version()
blogdown::hugo --minify
blogdown::hugo_build
blogdown::hugo new post/test.md
hugo new post/test.md
install.packages("blogdown")
install.packages("blogdown")
hugo
which git
library(tidyverse)
gapminder %>%
filter(country == "United States") %>%
select(year, gdpPercap, pop) %>%
mutate(GDP=gdpPercap * pop)
library(gapminder)gapminder %>%
filter(country == "United States") %>%
select(year, gdpPercap, pop) %>%
mutate(GDP=gdpPercap * pop)
library(gapminder)
gapminder %>%
filter(country == "United States") %>%
select(year, gdpPercap, pop) %>%
mutate(GDP=gdpPercap * pop)
ggplot(data = mpg)+
aes(x = displ,
y = hwy)+
geom_point(aes(color = class))+
geom_smooth()+
facet_wrap(~year)+
labs(x = "Engine Displacement (Liters)",
y = "Highway MPG",
title = "Car Mileage and Displacement",
subtitle = "More Displacement Lowers Highway MPG",
caption = "Source: EPA",
color = "Vehicle Class")+
scale_color_viridis_d()+
theme_minimal()+
theme(text = element_text(family = "Fira Sans"),
legend.position="bottom")
knitr::opts_chunk$set(echo = TRUE,
message = F,
warning = F)
library(tidyverse)
library(gapminder)
gapminder1<-gapminder[gapminder$country=="United States", c("year", "gdpPercap", "pop")]
gapminder1$gdp<-gapminder$gdpPercap*gapminder$pop
gapminder1<-gapminder[gapminder$country=="United States", c("year", "gdpPercap", "pop")]
gapminder1$gdp<-gapminder1$gdpPercap*gapminder1$pop
install.packages("blogdown")
install.packages("blogdown", dependencies = TRUE)
install.packages("rmarkdown", dependencies = TRUE)
install.packages("rmarkdown", dependencies = TRUE)
install.packages("rmarkdown", dependencies = TRUE)
install.packages("rmarkdown", dependencies = TRUE)
usethis::create_github_token()
install.packages("gitcreds")
library(gitcreds)
gitcreds_set()
gitcreds::gitcreds_get()
usethis::create_github_token()
gitcreds::gitcreds_set()