Skip to content

Commit 004e699

Browse files
authored
Merge pull request #14 from iago-pssjd/b1.5.1
B1.5.1
2 parents b132e9f + bfc330c commit 004e699

File tree

6 files changed

+51
-1
lines changed

6 files changed

+51
-1
lines changed

intro.Rmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,16 @@ ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_
11891189
11901190
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))
11911191
1192+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1193+
geom_point() +
1194+
geom_text()
1195+
1196+
library(ggrepel)
1197+
1198+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1199+
geom_point() +
1200+
geom_text_repel()
1201+
11921202
```
11931203

11941204
### Gráfico de histogramas

intro.r

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,16 @@ ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_
703703

704704
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))
705705

706+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
707+
geom_point() +
708+
geom_text()
709+
710+
library(ggrepel)
711+
712+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
713+
geom_point() +
714+
geom_text_repel()
715+
706716
### Gráfico de histogramas
707717

708718
ggplot(dta_data2, aes(x=Age)) + geom_histogram()

intro_Rmd.Rmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,16 @@ ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_
11961196
11971197
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))
11981198
1199+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1200+
geom_point() +
1201+
geom_text()
1202+
1203+
library(ggrepel)
1204+
1205+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1206+
geom_point() +
1207+
geom_text_repel()
1208+
11991209
```
12001210

12011211
### Gráfico de histogramas

intro_Rmd.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,17 @@ <h3>Gráfico de puntos</h3>
12101210
ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_year, alpha = 0.5)) +
12111211
geom_point(shape=23)
12121212

1213-
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))</code></pre>
1213+
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))
1214+
1215+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1216+
geom_point() +
1217+
geom_text()
1218+
1219+
library(ggrepel)
1220+
1221+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1222+
geom_point() +
1223+
geom_text_repel()</code></pre>
12141224
</div>
12151225
<div id="gráfico-de-histogramas" class="section level3">
12161226
<h3>Gráfico de histogramas</h3>

intro_Rmdtopdf.Rmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,16 @@ ggplot(BD, aes(x=nombre,y=edad)) +
12321232
geom_point() +
12331233
theme(axis.text.x = element_text(angle = 10))
12341234
1235+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1236+
geom_point() +
1237+
geom_text()
1238+
1239+
library(ggrepel)
1240+
1241+
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
1242+
geom_point() +
1243+
geom_text_repel()
1244+
12351245
```
12361246

12371247
### Gráfico de histogramas

intro_Rmdtopdf.pdf

416 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)