forked from AdamWilsonLabEDU/SpatialDataScience
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path06_GettingHelp.R
More file actions
40 lines (37 loc) · 836 Bytes
/
06_GettingHelp.R
File metadata and controls
40 lines (37 loc) · 836 Bytes
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
#' ---
#' title: "Getting Help!"
#' reading:
#' - How to [write a reproducible example](http://adv-r.had.co.nz/Reproducibility.html)
#' presentation:
#' - day_12_help.html
#' tasks:
#' - Learn how to read R help files effectively
#' - Learn how to search for help
#' - Learn how to create a Minimum Working Example (MWE)
#' ---
#'
#'
#' `r presframe()`
#'
#' ## Download
#'
#' `r output_table()`
#'
#' ## Libraries
#'
## ----message=F,warning=FALSE---------------------------------------------
library(tidyverse)
library(reprex)
#'
#'
## ------------------------------------------------------------------------
mpg%>%
ggplot(aes(x=drv, y=trans))%>%
geom_point(aes(color=class))%>%
geom_smooth()
data=data.frame(x=c(1,2),y=c(1,2),z=c(1.5,1.5))
ggplot(data,aes(x=x,y=y,color=z)) +
geom_point()
#'
#'
#'