plotdf creates standardized plots for easy data frames visualizations.

plotdf(formula, data)

Arguments

formula

a generic formula.

data

a data frame.

Examples

library(sf) dados <- st_drop_geometry(centro_2015) plotdf(valor ~ ., dados)
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
plotdf(log(valor) ~ ., dados)
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
plotdf(log(valor) ~ area_total + quartos + suites + garagens + log(dist_b_mar) + padrao , dados)
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'