Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
37f7e9fa9cf3492510b33122d39127ec
mooc-rr
Commits
954ab28b
Commit
954ab28b
authored
Jun 09, 2023
by
amarell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added answer to Exercise 02 (3rd part) to module2/exo/exercice_en.Rmd
parent
48e56cd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
exercice_en.Rmd
module2/exo2/exercice_en.Rmd
+18
-2
No files found.
module2/exo2/exercice_en.Rmd
View file @
954ab28b
---
---
title: "Exercice
02 (2nd part)
"
title: "Exercice
s Module 2
"
author: "Anders Mårell"
author: "Anders Mårell"
date: "2023-06-09"
date: "2023-06-09"
output: html_document
output: html_document
...
@@ -12,7 +12,8 @@ editor_options:
...
@@ -12,7 +12,8 @@ editor_options:
knitr::opts_chunk$set(echo = TRUE)
knitr::opts_chunk$set(echo = TRUE)
```
```
# Doing a simple calculation on your own
# Exercice 02 (2nd part)
## Doing a simple calculation on your own
Compute the mean and the standard variation, the minimum, the median, and the maximum of the following data set:
Compute the mean and the standard variation, the minimum, the median, and the maximum of the following data set:
...
@@ -51,3 +52,18 @@ We can also use summary:
...
@@ -51,3 +52,18 @@ We can also use summary:
summary(x)
summary(x)
```
```
# Exercise 02 (3rd part)
## Data visualization
Reproduce the first figure (sequence plot):
```{r}
plot(x, type = "l")
```
Reproduce the second figure (histogram):
```{r}
hist(x)
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment