-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtidyverse_ggplot2_giris.Rmd
247 lines (155 loc) · 5.48 KB
/
tidyverse_ggplot2_giris.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
---
title: "tidyverse ve ggplot2"
subtitle: "veri düzenleme ve görselleştirme"
author: "Murat Öztürkmen"
#institute: ""
date: "`r Sys.Date()`"
output:
xaringan::moon_reader:
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
---
background-image: url("img/tidyverse_pic1.png")
background-position: center
background-size: contain
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE, tibble.max_extra_cols = 6, tibble.width = 60)
knitr::opts_chunk$set(warning = FALSE, message = FALSE, fig.align = "center", dpi = 320)
library(mbmisc)
library(tidyverse)
library(tidymeta)
```
---
# R'da veri işleme

---
class: inverse-ns, center
# R'da veri işleme
## `r font_col("tidyverse", "#E69F00")` paketi, veri analizi ve veri görselleştime
## için `r font_col("kullanıcı dostu ve tutarlı", "#56B4E9")` bir araçlar kümesidir
---
background-image: url(https://raw.githubusercontent.com/tidyverse/tidyverse/master/man/figures/logo.png)
background-position: 90% 10%
## `library(tidyverse)`
## şu çekirdek paketler yüklenir:
- [ggplot2](http://ggplot2.tidyverse.org), veri görselleştirme için.
- [dplyr](http://dplyr.tidyverse.org), veri işleme için.
- [tidyr](http://tidyr.tidyverse.org), veri düzenleme için.
- [readr](http://readr.tidyverse.org), veri okuma için.
- [purrr](http://purrr.tidyverse.org), işlevsel programlama için.
- [tibble](http://tibble.tidyverse.org), modern veri çerçevesi için.
- [stringr](https://github.com/tidyverse/stringr), dizgeler için.
- [forcats](https://github.com/hadley/forcats), kategorik değişkenler için.
---
background-image: url(http://hexb.in/hexagons/readr.png)
background-position: 93% 10%
# veri okuma
## `r font_col("readr", "#E69F00")`
Function | Reads
-------------- | --------------------------
`read_csv()` | Comma separated values
`read_csv2()` | Semi-colon separate values
`read_delim()` | General delimited files
`read_fwf()` | Fixed width files
`read_log()` | Apache log files
`read_table()` | Space separated files
`read_tsv()` | Tab delimited values
---
## veri yazma
Function | Writes
------------------- | ----------------------------------------
`write_csv()` | Comma separated values
`write_excel_csv()` | CSV that you plan to open in Excel
`write_delim()` | General delimited files
`write_file()` | A single string, written as is
`write_lines()` | A vector of strings, one string per line
`write_tsv()` | Tab delimited values
`write_rds()` | A data type used by R to save objects
`write_sas()` | SAS .sas7bdat files
`write_xpt()` | SAS transport format, .xpt
`write_sav()` | SPSS .sav files
`write_stata()` | Stata .dta files
---
## The main verbs of `dplyr`
### `select()`
### `filter()`
### `mutate()`
### `arrange()`
### `summarize()`
### `group_by()`
---
## The main verbs of `dplyr`
### `r font_col("<code>select()</code>", "#E69F00")` = `r font_col("değişkenlerin(sütunların) altkümesi", "#56B4E9")`
### `filter()`
### `mutate()`
### `arrange()`
### `summarize()`
### `group_by()`
---
## The main verbs of `dplyr`
### `select()`
### `r font_col("<code>filter()</code>", "#E69F00")` = `r font_col("satırların filtrelenmesi", "#56B4E9")`
### `mutate()`
### `arrange()`
### `summarize()`
### `group_by()`
---
## The main verbs of `dplyr`
### `select()`
### `filter()`
### `r font_col("<code>mutate()</code>", "#E69F00")` = `r font_col("değişken oluşturma", "#56B4E9")`
### `arrange()`
### `summarize()`
### `group_by()`
---
## The main verbs of `dplyr`
### `select()`
### `filter()`
### `mutate()`
### `r font_col("<code>arrange()</code>", "#E69F00")` = `r font_col("değişkenleri sıralama", "#56B4E9")`
### `summarize()`
### `group_by()`
---
## The main verbs of `dplyr`
### `select()`
### `filter()`
### `mutate()`
### `arrange()`
### `r font_col("<code>summarize()</code>", "#E69F00")` = `r font_col("özet istatistikler", "#56B4E9")`
### `group_by()`
---
## The main verbs of `dplyr`
### `select()`
### `filter()`
### `mutate()`
### `arrange()`
### `summarize()`
### `r font_col("<code>group_by()</code>", "#E69F00")` = `r font_col("değişken oluşturma", "#56B4E9")`
---
class: inverse-ns, center
# Tali Yol: Zincir/Boru İşlemcisi
# `r font_col("<code>%>%</code>", "#E69F00")`
## bir işlevin sonucunu başka bir işleve aktarır
---
background-image: url(http://hexb.in/hexagons/ggplot2.png)
background-position: 90% 10%
# ggplot2: R'da Zarif Veri Görselleştirme
## katmanlı bir grafik grameri
---
background-image: url(http://hexb.in/hexagons/ggplot2.png)
background-position: 90% 10%
# ggplot2: R'da Zarif Veri Görselleştirme
## `r font_col("katmanlı bir grafik grameri", "#E5E5E5")`
## Veriler estetikle eşleştirilir; İstatistikler ve çizimle bağlanır
---
background-image: url(http://hexb.in/hexagons/ggplot2.png)
background-position: 90% 10%
# ggplot2: R'da Zarif Veri Görselleştirme
## `r font_col("katmanlı bir grafik grameri", "#E5E5E5")`
## `r font_col("Veriler estetikle eşleştirilir; İstatistikler ve çizimle bağlanır", "#E5E5E5")`
---
background-image: url("img/ggplot2_pic2.png")
background-position: center