plot.csvy | R Documentation |
"csvy"
object.
Supports both single-factor and two-factor visualization.
Aesthetic settings can be customized using plot_csvy_control()
.Plot method for csvy objects
Generates a diagnostic or summary plot from a fitted "csvy"
object.
Supports both single-factor and two-factor visualization.
Aesthetic settings can be customized using plot_csvy_control()
.
## S3 method for class 'csvy'
plot(
x,
x1 = NULL,
x2 = NULL,
domains = NULL,
type = c("constrained", "unconstrained", "both"),
control = plot_csvy_control(),
...
)
x |
An object of class |
x1 |
Optional. Name of the first factor to display in two-factor plots. Defaults to the first added variable. |
x2 |
Optional. Name of the second factor to display in two-factor plots. Defaults to the second added variable. |
domains |
Optional. A data frame containing some domain(s) to be emphasized on the plot. Defaults to be NULL. |
type |
Character string, either |
control |
A list of display options returned by |
... |
Additional arguments passed to |
A ggplot2
object.
plot_csvy_control
for a full list of customizable settings.
# plot.csvy(fit)
# plot.csvy(fit, x1 = "education", x2 = "region", control = plot_csvy_control(x1lab = "Education"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.