write_code | R Documentation |
Use this function to write code to R script from diagnostics tagged in Certara's VPC Results Shiny Application.
write_code(tagged, file)
tagged |
List of tagged objects from returned from |
file |
Character specifying path of output file. If missing, it will be saved as |
Returns NULL
after writing to file
.
if (interactive()) {
tagged_diagnostics <-
vpcResultsUI(tidyvpc::obs_data, tidyvpc::sim_data)
write_code(tagged_diagnostics, "tagged_vpc.R")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.