A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cran.rstudio.com/web/packages/Rcpp/../binsegRcpp/../ggplot2/../ezplot/readme/README.html below:

README

ezplot

Overview

ezplot provides high-level wrapper functions for common chart types with reduced typing and easy faceting. e.g.:

Installation

You can install the released version of ezplot from CRAN with:

And the development version from GitHub with:

Usage line_plot

Weekly aggregation:

Add grouping:

Add faceting:

Plot YOY comparisons:

Plot multiple numeric columns:

area_plot

Weekly aggregation:

Add grouping:

Add faceting:

area_plot(ansett,
          "year(Week) + (month(Week) - 1) / 12",
          y = c("Monthly Passengers" = "Passengers"),
          group = "substr(Airports, 5, 7)",
          facet_x = "substr(Airports, 1, 3)", facet_y = "Class",
          facet_scales = "free_y") +
          theme(axis.text.x = element_text(angle = 90, vjust = 0.38, hjust = 1))

bar_plot

Yearly aggregation:

With grouping:

Share of turnover:

tile_plot

waterfall_plot

side_plot

secondary_plot

Plot with secondary y-axis.

density_plot

histogram_plot

Classification data roc_plot

pr_plot

Precision-Recall plot

lift_plot
set.seed(4)
performance_plot(df, "pred", "lab", x = "rpp", y = "lift") +
  performance_plot(df, "pred", "lab", group = "sample(c(0, 1), n(), replace = TRUE)", x = "rpp", y = "lift")


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4