Performs data checks before plotting, triggering messages or errors when appropriate. For back-end use only.
plotCheck(rho, prompt, plotly, indexNaive)
A propr
or propd
object.
A logical scalar. Set to FALSE
to disable
the courtesy prompt when working with big data.
A logical scalar. Set to TRUE
to produce
a dynamic plot using the plotly
package.
Toggles whether to perform checks for an "index-naive" plot function.
Returns a propr
object with guaranteed
column names and row names.