##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
##Desafio 2: como colocar percentual na pizza?
##
## Não sobreviveu Sobreviveu
## 1490 710
## [1] "Não sobreviveu" "Sobreviveu"
##
## Não sobreviveu Sobreviveu
## 67.727 32.273
## [1] "Não sobreviveu (67.727%)" "Sobreviveu (32.273%)"
## Carregando pacotes exigidos: ggplot2
## Rows: 120 Columns: 6
## -- Column specification --------------------------------------------------------
## Delimiter: ";"
## chr (4): local, p.a.p, instr, renda
## dbl (2): familia, tam
##
## i Use `spec()` to retrieve the full column specification for this data.
## i Specify the column types or set `show_col_types = FALSE` to quiet this message.
#histograma
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 52.0 96.5 123.0 146.7 180.0 335.0
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 71.1 120.8 196.3 230.7 326.0 472.0
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 10.40 15.43 19.20 20.09 22.80 33.90
Nessa aula, vimos uma estratégia de análise de dados para cada tipo de variável
Qualitativa nominal - pizza, barras, tabela Qualitativa ordinal - barras, tabela Quantitativa discreta - dotplot, tabela Quantitativa continua - histograma, resumo numerico