powered by
This is a convenience function that ultimately calls mread.
mread
mcode_cache(model, code, project = tempdir(), ...)mcode(model, code, project = tempdir(), ...)
mcode(model, code, project = tempdir(), ...)
model name
character string specifying a mrgsolve model
mrgsolve
project name
passed to mread
Note that the arguments are in slightly different order than mread. The default project is tempdir().
project
tempdir()
# NOT RUN { # } # NOT RUN { code <- ' $CMT DEPOT CENT $PKMODEL ncmt=1, depot=TRUE $MAIN double CL = 1; double V = 20; double KA = 1; ' mod <- mcode("example",code) # }
Run the code above in your browser using DataLab