From e0aabe3306be57d2cf50f333fe6e6f0cc9625e90 Mon Sep 17 00:00:00 2001 From: hsiaotingyang Date: Tue, 1 Oct 2019 18:41:54 -0400 Subject: [PATCH] Update name --- class-activity-3.Rmd | 6 +++--- class-activity-3.Rproj | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 class-activity-3.Rproj diff --git a/class-activity-3.Rmd b/class-activity-3.Rmd index d8dd1d6..f4f1b3b 100644 --- a/class-activity-3.Rmd +++ b/class-activity-3.Rmd @@ -1,6 +1,6 @@ --- title: "class activity 3" -author: "Charles Lang" +author: "Hsiao Yang" date: "10/2/2018" output: html_document --- @@ -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~.) ``` @@ -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")) ``` diff --git a/class-activity-3.Rproj b/class-activity-3.Rproj new file mode 100644 index 0000000..8e3c2eb --- /dev/null +++ b/class-activity-3.Rproj @@ -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