Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gael MILLOT
cute_little_R_functions
Commits
db1110ee
Commit
db1110ee
authored
Aug 07, 2020
by
Gael MILLOT
Browse files
fun_gg_scatter and fun_gg_boxplot completed
parent
af840884
Changes
4
Hide whitespace changes
Inline
Side-by-side
boxplot_examples.R
View file @
db1110ee
...
...
@@ -116,7 +116,7 @@ obs1 <- data.frame(Time = c((1:20) * 100), Group1 = rep(c("G", "H"), times = 10)
fun_gg_boxplot
(
data1
=
obs1
,
y
=
"Time"
,
categ
=
c
(
"Group1"
,
"Group2"
),
y.log
=
"log10"
)
### log scale. Example (2). BEWARE: values of the y.lim must be in the corresponding log
obs1
<-
data.frame
(
Time
=
c
((
1
:
20
)
*
100
),
Group1
=
rep
(
c
(
"G"
,
"H"
),
times
=
10
),
Group2
=
rep
(
c
(
"A"
,
"B"
),
each
=
10
))
fun_gg_boxplot
(
data1
=
obs1
,
y
=
"Time"
,
categ
=
c
(
"Group1"
,
"Group2"
),
y.log
=
"log10"
,
y.lim
=
c
(
1
,
1
0
))
fun_gg_boxplot
(
data1
=
obs1
,
y
=
"Time"
,
categ
=
c
(
"Group1"
,
"Group2"
),
y.log
=
"log10"
,
y.lim
=
c
(
1
00
,
100
0
))
### tick number. Example (1)
obs1
<-
data.frame
(
Time
=
1
:
20
,
Group1
=
rep
(
c
(
"G"
,
"H"
),
times
=
10
),
Group2
=
rep
(
c
(
"A"
,
"B"
),
each
=
10
))
fun_gg_boxplot
(
data1
=
obs1
,
y
=
"Time"
,
categ
=
c
(
"Group1"
,
"Group2"
),
y.tick.nb
=
10
)
...
...
fun_gg_boxplot.docx
View file @
db1110ee
No preview for this file type
scatter.docx
View file @
db1110ee
No preview for this file type
scatter_examples.docx
View file @
db1110ee
No preview for this file type
Write
Preview
Supports
Markdown
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