Description Usage Arguments Details Note Author(s) References Examples
Run the specified model file and dataset using Phoenix NLME
1 |
inst.path |
Default of NULL sets the Phoenix installation path to the default of: "C:/Program Files (x86)/Pharsight/Phoenix" |
path |
System path for location of the model run folder |
model.file |
A character string that provides the model file name (*.mdl) |
cols.file |
A character string that provides the name of the columns mapping file. This is an ASCII text file that contains a series of statements that define the association between model concepts and columns in a data set (Refer to Phoenix NLME manual). |
data |
A character string that provides the file name of the data file ( *.dat, *.csv or *.txt). Note that ID column needs to be the first column. |
method |
Phoenix NLME estimation method (refer to Phoenix NLME manual). |
iterlimit |
An integer between 0 and 10000 that specifies the maximum number of iterations to run the main optimization routine (default is 1000). If maxiterations= 0, no optimization is run but the model is evaluated at the initial solution defined in the model file or restart file. |
Model folder containing the model file, columns mapping file and dataset has to be set up prior to model run. Valid license for Phoenix NLME required.
Request of empirical bayes estimates of parameters required. E.g. include the following statement in the columns mapping file:
table(file="parmtable.csv",V,Cl)
(see Phoenix Modeling Language Reference Guide for details)
For Phoenix installation at locations other than the default, please specify its location. Example where installation path is "C:/Program Files/Pharsight/Phoenix":
phxnlme(inst.path="C:/Program Files/Pharsight/Phoenix",path=path,model.file=model.file,cols.file=cols.file,data=data)
Chay Ngee Lim
Phoenix Modeling Language Reference Guide
1 2 3 4 5 6 7 8 9 10 | ## Specify model folder path, model.file, cols.file and data
if(!is.null(checkphxnlme(testchk=TRUE))){
path="C:/Program Files (x86)/Pharsight/Phoenix/application/Examples/NLME Command Line/Model 1"
model.file="lyon04.mdl"
cols.file="COLS04.txt"
data="EMAX02.csv"
## Run model fit
phxnlme(path=path,model.file=model.file,cols.file=cols.file,data=data)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.