This function transforms the individual color pattern rasters as obtained by the main patternize functions to a dataframe of 0 and 1 values that can be used for constrained Redundancy Analysis (RDA) (rda
). This function also allows to plot the analysis including a visualization of the shape changes along the axis.