Skip to contents

Main plotting functions

Main diagnostic plotting functions

explore_trace_search()
Plot the count in each iteration
explore_trace_interp()
Plot the trace the search progression
explore_space_start() explore_space_end() explore_space_pca()
Plot the PCA projection of the projection bases space
explore_space_tour() prep_space_tour()
Plot the grand tour animation of the bases space in high dimension
plot_projection() compute_projection()
Plot the projection from the optimisation data collected from projection pursuit
flip_sign() compute_pca()
Helper functions for `explore_space_pca()`
geom_huber() prep_huber() theme_huber()
Create Huber plot with ggplot2

Calculate projection pursuit index metrics

Get components

Extracting components from existing data object

Bind additionals

Bind external data to the existing data object

bind_random()
Bind random bases in the projection bases space
bind_random_matrix()
Bind random bases in the projection bases space as a matrix
bind_theoretical()
Bind the theoretical best record

Create ggprotos

ggproto for drawing each component in PCA plot

add_anchor()
A ggproto for drawing anchor points
add_anno()
A ggproto for annotating the symmetry of the starting points
add_dir_search()
A ggproto for drawing directional search points
add_end()
A ggproto for drawing start points
add_interp()
A ggproto for drawing interpolation path
add_interp_last()
A ggproto for drawing finish points
add_interrupt()
A ggproto for annotating the interrupted path
add_search()
A ggproto for drawing search points
add_space()
A ggproto for drawing circle
add_start()
A ggproto for drawing start points
add_theo()
A ggproto for drawing the theoretical basis, if applicable

Color & theme

An australian botanical color palette

botanical_palettes botanical_pal()
A customised colour palette based on Australian botanies
scale_color_continuous_botanical() scale_color_discrete_botanical() scale_fill_continuous_botanical() scale_fill_discrete_botanical()
continuous scale colour function
theme_fern()
A specific theme for trace plots

Data

Simulated example data

sine1000 sine1000_8d pipe1000 pipe1000_8d pipe1000_10d pipe1000_12d boa boa5 boa6
Simulated sine, pipe, and gaussian mixture
holes_1d_geo holes_1d_better holes_1d_jellyfish holes_2d_jellyfish holes_2d_better holes_2d_better_max_tries
Data objects collected during the projection pursuit optimisation

Miscellaneous

Other misc functions

clean_method()
Clean method names
format_label()
Better label formatting to avoid overlapping