diff --git a/_pkgdown.yml b/_pkgdown.yml index ae9df6a..0586859 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,8 +1,6 @@ template: - params: - bootswatch: flatly - + package: dreamRs authors: Victor Perrier: diff --git a/docs/404.html b/docs/404.html index 6595caa..ee5eaaf 100644 --- a/docs/404.html +++ b/docs/404.html @@ -12,11 +12,62 @@ - + + + + + + + + + + + + @@ -53,7 +104,7 @@ -
+vignettes/apexcharter.Rmd
apexcharter.Rmd
Flipping coordinates can be done by using type = "bar"
:
Flipping coordinates can be done by using type = "bar"
:
To create a dodge bar charts, use aesthetic fill
:
To create a dodge bar charts, use aesthetic fill
:
n_manufac_year <- count(mpg, manufacturer, year)
apex(data = n_manufac_year, type = "column", mapping = aes(x = manufacturer, y = n, fill = year))
For stacked bar charts, specify option stacked
in ax_chart
:
For stacked bar charts, specify option stacked
in ax_chart
:
To represent several lines, use a data.frame
in long format and the group
aesthetic:
To represent several lines, use a data.frame
in long format and the group
aesthetic:
data("economics_long")
economics_long <- economics_long %>%
group_by(variable) %>%
@@ -152,30 +199,30 @@
apex(data = economics_long, type = "line", mapping = aes(x = date, y = value01, group = variable)) %>%
ax_yaxis(decimalsInFloat = 2) # number of decimals to keep
Create area charts with type = "area"
:
Create area charts with type = "area"
:
Simple bar charts can be created with:
- -Color points according to a third variable:
+ +Color points according to a third variable:
apex(data = mtcars, type = "scatter", mapping = aes(x = wt, y = mpg, fill = cyl))
#> Warning in make_series(mapdata, mapping, type, serie_name): apex: all groups
#> must have same length! Use can use `tidyr::complete` for this.
And change point size using z
aesthetics:
And change point size using z
aesthetics:
Simple radial charts can be created with (here we pass values directly in aes
, but you can use a data.frame
) :
Multi radial chart (more than one value):
+ +Multi radial chart (more than one value):
- - + +With a grouping variable:
+ +With a grouping variable:
- - + +