Learn R Programming

maidr (version 0.1.2)

BaseRSmoothLayerProcessor: Base R Smooth/Density Layer Processor

Description

Processes Base R smooth curves including: - Density plots: plot(density()) or lines(density()) - Loess smooth: lines(loess.smooth()) or lines(predict(loess)) - Smooth splines: lines(smooth.spline())

Arguments

Super class

maidr::LayerProcessor -> BaseRSmoothLayerProcessor

Methods

Inherited methods


Method process()

Usage

BaseRSmoothLayerProcessor$process(
  plot,
  layout,
  built = NULL,
  gt = NULL,
  scale_mapping = NULL,
  grob_id = NULL,
  panel_id = NULL,
  panel_ctx = NULL,
  layer_info = NULL
)


Method extract_data()

Usage

BaseRSmoothLayerProcessor$extract_data(layer_info)


Method generate_selectors()

Usage

BaseRSmoothLayerProcessor$generate_selectors(layer_info, gt = NULL)


Method find_polyline_grobs()

Usage

BaseRSmoothLayerProcessor$find_polyline_grobs(grob, call_index = NULL)


Method generate_selectors_from_grob()

Usage

BaseRSmoothLayerProcessor$generate_selectors_from_grob(grob, call_index = NULL)


Method extract_axis_titles()

Usage

BaseRSmoothLayerProcessor$extract_axis_titles(layer_info)


Method extract_main_title()

Usage

BaseRSmoothLayerProcessor$extract_main_title(layer_info)


Method clone()

The objects of this class are cloneable with this method.

Usage

BaseRSmoothLayerProcessor$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.