Plots a surface using Plotly and returns the URL
1 2 3 4 |
plotlyUsername |
Plotly online user name. Not needed if environment variables already set. See plotly instructions. |
plotlyKey |
Plotly online key. Not needed if environment variables already set. See plotly instructions. |
modFilePath |
Model file to use. The called function createRawresInput assumes that there is an ext file with the same base file name. |
paramsToCompare |
Parameters to compare. A vector of two parameter names following the NONMEM ext file standard names. Default is c("THETA1", "THETA2"). Model file parameter labels will be removed. |
resol |
Resolution on each axis. Default is 10 and will use 10^2 = 100 sets of parameter values, NONMEM runs, and ofv values to create the plot. |
ofvScaling |
If true OFVs are scaled to between zero and one. Default is FALSE. |
absolute |
Whether or not to take the absolute value of all parameter values before constructing the input file. Limits applied to the parameters to be plotted against may still be negative, making the plot stretch into negative space. Default is FALSE. |
cleanLevel |
PsN clean script will be run on the parallel retries folder. See psn_clean documentation. Default is 4, the highest cleaning level. |
... |
Further options to createRawresInput |
origVals |
Whether or not to plot the original model final estimate as a point in the plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.