Changed readme and stuff
This commit is contained in:
15
good-to-know.md
Normal file
15
good-to-know.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Good things to know
|
||||||
|
|
||||||
|
## Diagram
|
||||||
|
|
||||||
|
### Esquisse
|
||||||
|
|
||||||
|
För att starta esquisse ````esquisse::esquisser(viewer = "browser")````
|
||||||
|
|
||||||
|
### Diagramstyper
|
||||||
|
|
||||||
|
Olika diagram typer:
|
||||||
|
|
||||||
|
* geom_boxplot
|
||||||
|
* geom_point
|
||||||
|
* geom_col
|
||||||
@@ -191,6 +191,7 @@ bike %>% select(member) %>% summary()
|
|||||||
### Klistra in koden från ggplot builder nedan
|
### Klistra in koden från ggplot builder nedan
|
||||||
|
|
||||||
ggplot(bike) +
|
ggplot(bike) +
|
||||||
|
ggtitle("Antal uthyrning per sässong") +
|
||||||
aes(x = season, y = total) +
|
aes(x = season, y = total) +
|
||||||
geom_boxplot(fill = "#112446") +
|
geom_boxplot(fill = "#112446") +
|
||||||
theme_minimal()
|
theme_minimal()
|
||||||
@@ -237,8 +238,10 @@ Jag får extra pressision med 1 decimal?
|
|||||||
```{r rentals vs temp}
|
```{r rentals vs temp}
|
||||||
|
|
||||||
ggplot(bike) +
|
ggplot(bike) +
|
||||||
|
ggtitle("Rentals per temperatur") +
|
||||||
aes(x = tempC, y = total) +
|
aes(x = tempC, y = total) +
|
||||||
geom_point(colour = "#00CC00") +
|
geom_point(colour = "#00CC00") +
|
||||||
|
geom_smooth(se = FALSE) +
|
||||||
theme_minimal()
|
theme_minimal()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user