Create a PCA plot for GDM
gdm_plot_vars.Rd
Create a PCA plot for GDM
Usage
gdm_plot_vars(
pcaSamp,
pcaRast,
pcaRastRGB,
coords,
x = "PC1",
y = "PC2",
scl = 1,
display_axes = FALSE
)
Arguments
- pcaSamp
PCA results from running prcomp()
- pcaRast
raster PCA
- pcaRastRGB
raster PCA rescaled to RGB
- coords
dataframe with x and y coordinates
- x
x-axis PC
- y
y-axis PC
- scl
constant for rescaling variable vectors for plotting
- display_axes
whether to display axes
See also
Other GDM functions:
gdm_coeffs()
,
gdm_df()
,
gdm_do_everything()
,
gdm_format()
,
gdm_map()
,
gdm_plot_diss()
,
gdm_plot_isplines()
,
gdm_run()
,
gdm_table()
,
gdm_var_sel()
,
scale01()