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
3024faf9f3fb6d4a4556f625ee88167e
mooc-rr
Commits
c3fe5637
Commit
c3fe5637
authored
Jul 19, 2020
by
ZackOSX
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sauvegarde
parent
a3ceb996
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
exercice_R_fr.org
module2/exo3/exercice_R_fr.org
+13
-13
No files found.
module2/exo3/exercice_R_fr.org
View file @
c3fe5637
...
@@ -9,23 +9,23 @@ a= 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,
...
@@ -9,23 +9,23 @@ a= 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,
19.6, 21.7, 11.3, 15.0, 14.3, 16.8, 14.0, 6.8, 8.2, 19.9, 20.4, 14.6,
19.6, 21.7, 11.3, 15.0, 14.3, 16.8, 14.0, 6.8, 8.2, 19.9, 20.4, 14.6,
16.4, 18.7, 16.8, 15.8, 20.4, 15.8, 22.4, 16.2, 20.3, 23.4, 12.1,
16.4, 18.7, 16.8, 15.8, 20.4, 15.8, 22.4, 16.2, 20.3, 23.4, 12.1,
15.5, 15.4, 18.4, 15.7, 10.2, 8.9, 21.0)
15.5, 15.4, 18.4, 15.7, 10.2, 8.9, 21.0)
mean(a)
min(a)
max(a)
median(a)
sd(a)
#+End_src
#+End_src
#+RESULTS:
#+begin_src R :results output graphics :file (org-babel-temp-file "figure" ".png") :exports both :width 600 :height 400 :session *R*
#+begin_example
plot(a,type = "l", lty = 1, col = "blue",ylim=c(0,25),xlim = c(0,100),ylab="",xlab="")
grid(lty=5, col="gray")
#+end_src
[1] 14.113
[1] 2.8
#+RESULTS:
[[file:/var/folders/vm/mnnw8gnj191fdf49b7x4gz000000gn/T/babel-JfhrCg/figure3PcLqf.png]]
[1] 23.4
#+begin_src R :results output graphics :file (org-babel-temp-file "figure" ".png") :exports both :width 600 :height 400 :session *R*
hist(a,col="blue", ylab=NULL,main=NULL)
grid(lty=5, col="gray")
hist(a, add = TRUE, col = "blue", ylab=NULL,main=NULL,border=TRUE)
#+end_src
[1] 14.5
[1] 4.334094
#+RESULTS:
#+end_example
[[file:/var/folders/vm/mnnw8gnj191fdf49b7x4gz000000gn/T/babel-JfhrCg/figure9AnTkK.png]]
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