If the $save
method has previously been invoked on a PM_pta
object, this function will load those results.
Details
This object class contains results of simulations and a probability of target attainment analysis.
Creating this object first requires a simulation of appropriate regimens
from a model using the $sim
method for a PM_result object. That simulation
result is passed to the makePTA function when a new PM_pta
is created.
The saved object is an .rds file. When loaded, it should be assigned to an R
object, e.g. pta1 <- PM_pta$load("filename")
.
Methods
Method save()
Save the current PM_pta object into a .rds file.
Method summary()
Summarize the PM_pta
object. See summary.PMpta.
Arguments
...
Arguments passed to summary.PMpta
Method plot()
Plot the PM_pta
object. See plot.PM_pta.
Arguments
...
Arguments passed to plot.PM_pta
Method load()
Returns a PM_pta object based on the information found in a specified rds file.