Create the PK profile of the output results based on the given parameter (uncertainty analysis). This function is used to visualize the corresponding output PK profile from the input parameters in sensitivity analysis. If there are multiple outputs in model, the generated result will be the first model variable (default). A PK plot is generated with median, 25\

pksim(y, vars = 1, log = F, legend = T, ...)



a numeric array created from solve_fun or solve_mcsim function.


a logical value or character to specific the display variable in simulation (default 1).


a logical value to transform the y-axis to log scale.


a logical value to display the legend in the created plot.


additional arguments to customize the graphical parameters.