Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
ds4b-2021
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
data.analytics.teaching
ds4b-2021
Commits
5814269c
Commit
5814269c
authored
3 years ago
by
Oliver Müller
Browse files
Options
Downloads
Patches
Plain Diff
update "your task"
parent
c1885e2f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Week 03/nycflights.Rmd
+1
-10
1 addition, 10 deletions
Week 03/nycflights.Rmd
with
1 addition
and
10 deletions
Week 03/nycflights.Rmd
+
1
−
10
View file @
5814269c
...
...
@@ -238,7 +238,7 @@ ggplot(data=flights_all) +
```
Similar
i
ly, we can plot a bar chart for the number of flights by `carrier`. Note that the bars are not ordered by frequency, but alphabetically.
Similarly, we can plot a bar chart for the number of flights by `carrier`. Note that the bars are not ordered by frequency, but alphabetically.
```{r}
ggplot(data=flights_all) +
...
...
@@ -292,10 +292,6 @@ ggplot(data=flights_all) +
```{r}
# YOUR CODE GOES HERE
ggplot(data = flights_all) +
geom_histogram(mapping = aes(x=dep_delay)) +
scale_x_log10() +
facet_wrap(~month_name, ncol=3)
```
...
...
@@ -319,9 +315,6 @@ ggplot(flights_all) +
```{r}
# YOUR CODE GOES HERE
ggplot(data=flights_all) +
geom_density_ridges_gradient(mapping=aes(x = fahrenheit.to.celsius(temp), y = fct_rev(month_name), fill = stat(x))) +
scale_fill_viridis_c(option="C")
```
...
...
@@ -345,8 +338,6 @@ ggplot(data=flights_all) +
```{r}
# YOUR CODE GOES HERE
ggplot(data = flights_all) +
geom_boxplot(mapping = aes(x=carrier, y=distance))
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment