Menu

#1 grep error

open
nobody
None
5
2003-11-07
2003-11-07
Nathan Pace
No

I run R Version 1.8.0 (2003-10-08) on a Mac Dual 500 MHz
G4 under OS X 10.2.8 with 1.5 GB RAM and 80 GB HD.

I have downloaded the nlmeODE package 0.2-1.

Using the pdf file I am working the example for TheophODE.

I defined OneComp as given.

> OneComp
$DiffEq
$DiffEq$dy1dt
~-ka * y1

$DiffEq$dy2dt
~ka * y1 - ke * y2

$ObsEq
$ObsEq$c1
~0

$ObsEq$c2
~y2/(CL * ke)

$Parms
[1] "ka" "ke" "CL"

$LogParms
[1] TRUE

$States
[1] "y1" "y2"

$Init
$Init[[1]]
[1] 0

$Init[[2]]
[1] 0

$JAC
[1] TRUE

$SEQ
[1] FALSE

When I use nlmeODE an error is returned.

> TheophModel <- nlmeODE(OneComp, TheophODE)
Error in grep(pattern, x, ignore.case, extended, value, fixed)
:
invalid regular expression

Discussion


Log in to post a comment.