add_theo: A ggproto for drawing the theoretical basis, if applicable

View source: R/draw.R

add_theoR Documentation

A ggproto for drawing the theoretical basis, if applicable

Description

This is a wrapper function used by explore_space_pca() and should be be called directly by the user

Usage

add_theo(
  dt,
  theo_label = "*",
  theo_size = 25,
  theo_alpha = 0.8,
  theo_color = "#000000",
  ...
)

Arguments

dt

A data object from the running the optimisation algorithm in guided tour

theo_label

character; a symbol to label the theoretical point

theo_size

numeric; the size of the theoretical point

theo_alpha

numeric; the alpha of the theoretical point

theo_color

character; the colour of the theoretical point in hex

...

other aesthetics inherent from explore_space_pca()

Value

a wrapper for drawing theoretical points in explore_space_pca()

See Also

Other draw functions: add_anchor(), add_anno(), add_dir_search(), add_end(), add_interp(), add_interp_last(), add_interrupt(), add_search(), add_space(), add_start()


ferrn documentation built on June 24, 2024, 1:07 a.m.