Skip to content

Commit

Permalink
Merge pull request #14 from iago-pssjd/b1.5.1
Browse files Browse the repository at this point in the history
B1.5.1
  • Loading branch information
iagogv3 authored Dec 11, 2019
2 parents b132e9f + bfc330c commit 004e699
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 1 deletion.
10 changes: 10 additions & 0 deletions intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,16 @@ ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text()
library(ggrepel)
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text_repel()
```

### Gráfico de histogramas
Expand Down
10 changes: 10 additions & 0 deletions intro.r
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,16 @@ ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_

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

ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text()

library(ggrepel)

ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text_repel()

### Gráfico de histogramas

ggplot(dta_data2, aes(x=Age)) + geom_histogram()
Expand Down
10 changes: 10 additions & 0 deletions intro_Rmd.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,16 @@ ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text()
library(ggrepel)
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text_repel()
```

### Gráfico de histogramas
Expand Down
12 changes: 11 additions & 1 deletion intro_Rmd.html
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,17 @@ <h3>Gráfico de puntos</h3>
ggplot(SW, aes(x = mass, y = height, colour = gender, fill = gender, size=birth_year, alpha = 0.5)) +
geom_point(shape=23)

ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))</code></pre>
ggplot(BD, aes(x=nombre,y=edad)) + geom_point() + theme(axis.text.x = element_text(angle = 10))

ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text()

library(ggrepel)

ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text_repel()</code></pre>
</div>
<div id="gráfico-de-histogramas" class="section level3">
<h3>Gráfico de histogramas</h3>
Expand Down
10 changes: 10 additions & 0 deletions intro_Rmdtopdf.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,16 @@ ggplot(BD, aes(x=nombre,y=edad)) +
geom_point() +
theme(axis.text.x = element_text(angle = 10))
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text()
library(ggrepel)
ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars), colour = factor(cyl))) +
geom_point() +
geom_text_repel()
```

### Gráfico de histogramas
Expand Down
Binary file modified intro_Rmdtopdf.pdf
Binary file not shown.

0 comments on commit 004e699

Please sign in to comment.