You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ggplot_add.LayerRef() enables mapping aesthetics for a reference data set (separate from the inherited data) by storing the aesthetic mapping as a parameter. It is used by two referential stats, StatProjection and StatRule, which process the reference data using StatReferent$setup_params(). This behavior could be spun off to {gggda}. The biplot ggprotos Stat*Projection and Stat*Rule, however, use setup_reference_params(), which handles 'tbl_ord'-specific syntax before passing on to StatReferent$setup_params().
It might be possible for a universal LayerOrd class to additionally obtain the complete set of artificial coordinates from the fortified ordination model (via recover_coord.data.frame()), obviating the need for ord_aes()'s first argument to be the model itself. This class could be automatically built in to all of the (stat|geom)_(rows|cols)_*() shortcuts, resolving the problem of stat_*() rather than geom_*() or even layer() needing to be used, which fails to add the LayerRef class and hopefully triggers this error.
The text was updated successfully, but these errors were encountered:
Currently,
ggplot_add.LayerRef()
enables mapping aesthetics for a reference data set (separate from the inherited data) by storing the aesthetic mapping as a parameter. It is used by two referential stats,StatProjection
andStatRule
, which process the reference data usingStatReferent$setup_params()
. This behavior could be spun off to {gggda}. The biplot ggprotosStat*Projection
andStat*Rule
, however, usesetup_reference_params()
, which handles 'tbl_ord'-specific syntax before passing on toStatReferent$setup_params()
.It might be possible for a universal
LayerOrd
class to additionally obtain the complete set of artificial coordinates from the fortified ordination model (viarecover_coord.data.frame()
), obviating the need forord_aes()
's first argument to be the model itself. This class could be automatically built in to all of the(stat|geom)_(rows|cols)_*()
shortcuts, resolving the problem ofstat_*()
rather thangeom_*()
or evenlayer()
needing to be used, which fails to add theLayerRef
class and hopefully triggers this error.The text was updated successfully, but these errors were encountered: