vpcResultsUI | R Documentation |
Use tidyvpc
package to parameterize VPC from Shiny GUI and customize plot
using ggplot2
. Code generation functionality allows you to reproduce tidyvpc
object and ggplot2
plot in your local R session via R script saved to your working
directory.
vpcResultsUI(
observed,
simulated,
ObsName = NULL,
vpc.type = c("continuous", "categorical"),
tagged = NULL,
settings = NULL,
...
)
observed |
Observed input data. |
simulated |
Simulated input data. |
ObsName |
Optional character value specifiying the name of the observed dependent variable (e.g., ObsName). |
vpc.type |
Character value specifying type of VPC. |
tagged |
A list of tagged VPC's or model diagnostics created from previous |
settings |
A list of plot customization settings used in previous |
... |
Arguments for initiation from Pirana. |
If interactive()
, returns a list of tagged diagnostics from the Shiny application, otherwise returns TRUE
.
if (interactive()) {
vpcResultsUI(tidyvpc::obs_data, tidyvpc::sim_data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.