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
|
||||
|
||||
ggplot(bike) +
|
||||
ggtitle("Antal uthyrning per sässong") +
|
||||
aes(x = season, y = total) +
|
||||
geom_boxplot(fill = "#112446") +
|
||||
theme_minimal()
|
||||
@@ -237,8 +238,10 @@ Jag får extra pressision med 1 decimal?
|
||||
```{r rentals vs temp}
|
||||
|
||||
ggplot(bike) +
|
||||
ggtitle("Rentals per temperatur") +
|
||||
aes(x = tempC, y = total) +
|
||||
geom_point(colour = "#00CC00") +
|
||||
geom_smooth(se = FALSE) +
|
||||
theme_minimal()
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user