Chapter 8 Aula 7

Instalar pacotes

install.packages(ggplot2)
install.packages(GGally)
install.packages(scales)

Carregar pacotes

library(ggplot2)
library(GGally)
## Registered S3 method overwritten by 'GGally':
##   method from   
##   +.gg   ggplot2
library(scales)
## 
## Attaching package: 'scales'
## The following object is masked from 'package:purrr':
## 
##     discard
## The following object is masked from 'package:readr':
## 
##     col_factor

Ler arquivos

Arquivo 1: Base de dados de crédito modificada

dados<-read.csv("/Users/eugeniaviana/Documents/Documents/Eugenia/Sociologia/MQ/aula1mod.csv")

Arquivo 2: Base de dados IBGE- Região Metropolitana de Belo Horizonte

IBGE<-read.csv("/Users/eugeniaviana/Documents/Documents/Eugenia/Sociologia/MQ/IBGE.csv")

Arquivo 3: Base de dados nomes de bebê nos Estados Unidos (1880-2015)

babynames<-read.csv("babynames.csv")