Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hsiao Yang - Class Activity 3 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions class-activity-3.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "class activity 3"
author: "Charles Lang"
author: "Hsiao Yang"
date: "10/2/2018"
output: html_document
---
Expand Down Expand Up @@ -43,6 +43,7 @@ ggplot(mpg, aes(displ, hwy, color = class)) +
Can you create a line graph using the "economics_long" data set that shows change over time in "value01" for different categories of "variable"?

```{r}
ggplot(economics_long, aes(economics_long$value01, economics_long$date))+geom_line()+facet_grid(economics_long$variable~.)

```

Expand All @@ -61,7 +62,6 @@ size = 4)
last_plot() +
scale_x_continuous("", limits = c(24, 39)) +
scale_y_continuous("") +
scale_colour_manual(values = c("grey50","red")) +
scale_size(to = c(1, 10))
scale_colour_manual(values = c("grey50","red"))
```

13 changes: 13 additions & 0 deletions class-activity-3.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX