VPC | R Documentation |
VPC()
allows you to run PsN's vpc
command and generate a visual
predictive check with xpose4::xpose.VPC()
in one line of code in the R
console.
VPC(runno, psn_args = NULL, overwrite = FALSE, ...)
runno |
A run number or model name. |
psn_args |
Optional. A character string containing arguments to PsN's
|
overwrite |
Optional. Logical. Should |
... |
Optional. Additional arguments to |
Let the name of your model for VPC be called "runXX.mod". runXX.mod must exist in your current working directory. If a vpc_runXX directory already exists from a previous VPC, and overwrite = FALSE, psn_args can be left blank, and you need only supply the run number/model name.
No return value, called for side effects
Sandy Floren
## Not run:
# run VPC for run46.mod using runno = 46
VPC(46, "-samples=500 -bin_array=-0.5,0.5,1.5,2.5,3.5,5,7,11,13,24.5
-idv=TAD -bin_by_count=0", subset = "TAD <= 24")
# run VPC for run46.mod using runno = "run46"
VPC("run46", "-samples=500 -bin_array=-0.5,0.5,1.5,2.5,3.5,5,7,11,13,24.5
-idv=TAD -bin_by_count=0", subset = "TAD <= 24")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.