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
feee8ecec645c53ceeda57e948ea51be
mooc-rr
Commits
3143a288
Commit
3143a288
authored
Jul 23, 2021
by
feee8ecec645c53ceeda57e948ea51be
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update exercice_en.Rmd
parent
adab25fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
exercice_en.Rmd
module2/exo2/exercice_en.Rmd
+5
-5
No files found.
module2/exo2/exercice_en.Rmd
View file @
3143a288
...
@@ -18,31 +18,31 @@ x <- c(14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7.3,
...
@@ -18,31 +18,31 @@ x <- c(14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7.3,
## Exercice 02-2
## Exercice 02-2
###1. What is the average ?
###
1. What is the average ?
```{r}
```{r}
round(mean(x), digits=2)
round(mean(x), digits=2)
```
```
###2. What is the minimum ?
###
2. What is the minimum ?
```{r}
```{r}
round(min(x), digits=2)
round(min(x), digits=2)
```
```
###3. What is the maximum ?
###
3. What is the maximum ?
```{r}
```{r}
round(max(x), digits=2)
round(max(x), digits=2)
```
```
###4. What is the median ?
###
4. What is the median ?
```{r}
```{r}
round(median(x), digits=2)
round(median(x), digits=2)
```
```
###5. What is the standard deviation ?
###
5. What is the standard deviation ?
```{r}
```{r}
round(sd(x), digits=2)
round(sd(x), digits=2)
...
...
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