Replies: 1 comment 7 replies
-
Use ratio = fixed(3) if you want it to be estimated, but the same for all subjects, starting at a value of 3. Use ratio = fixed(3, constant = T) if you don’t want to estimate it and set the value to 3 for all subjects. Sorry that we are still catching up on documentation!
On Jul 13, 2022, at 3:42 AM, anne8rete ***@***.***> wrote:
Hi,
I am trying to fix a parameter in the Version 2 Pmetrics, how to do this in the code/txt file? The previous use of "!" doesn't seem to work, also putting into code ratio=0.3 doesn't work.
Example (wanting to fix the ratio):
mod3_met <- PM_model$new(list(
pri = list(
V = range(0, 200),
K12 = range(0,10),
K21 = range(0,10),
Vmax = range(0,100),
Km = range(0,80),
K34 = range(0,10),
K43 = range(0,10),
SCLM = range(0,100),
ratio = range(0.3,0.4)
),
sec = list("V2 = ratioV"),
dif = list(
xp1="RATEIV(1) - (K12 + Vmax/(KmV+X(1))) X(1) + K21X(2)",
xp2="K12X(1) - K21X(2)",
xp3="(Vmax/(KmV+X(1)))X(1) - K43X(4) - K34X(3) - (SCLM/V2)X(3)",
xp4="K34X(3) - K43*X(4)"
),
out = list(
Y1 = list(
value = "X(1)/V",
err = list(
model = proportional(5),
assay = c(0.01, 0.1, 0, 0)
)
),
Y2 = list(
value = "X(3)/V2",
err = list(
model = proportional(5),
assay = c(0.01, 0.1, 0, 0)
)
)
)
))
Thanks,
Anne
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/LAPKB/Pmetrics/discussions/80__;!!LIr3w8kk_Xxm!q9Sv0r-ATwrqunenNnPk2O7JbjXTkK1UsYLtfSJ7EM86pqv9uEomvXNgkmCqBtm4lEIhs-ZbvYXOBkCzx4nWqmA$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AB6CLTTHWVK4SPY2JGFOXO3VT2MRPANCNFSM53OHXMMA__;!!LIr3w8kk_Xxm!q9Sv0r-ATwrqunenNnPk2O7JbjXTkK1UsYLtfSJ7EM86pqv9uEomvXNgkmCqBtm4lEIhs-ZbvYXOBkCzPFTaD-U$>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
mnneely
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to fix a parameter in the Version 2 Pmetrics, how to do this in the code/txt file? The previous use of "!" doesn't seem to work, also putting into code ratio=0.3 doesn't work.
Example (wanting to fix the ratio):
mod3_met <- PM_model$new(list(
pri = list(
V = range(0, 200),
K12 = range(0,10),
K21 = range(0,10),
Vmax = range(0,100),
Km = range(0,80),
K34 = range(0,10),
K43 = range(0,10),
SCLM = range(0,100),
ratio = range(0.3,0.4)
),
sec = list("V2 = ratioV"),
dif = list(
xp1="RATEIV(1) - (K12 + Vmax/(KmV+X(1))) X(1) + K21X(2)",
xp2="K12X(1) - K21X(2)",
xp3="(Vmax/(KmV+X(1)))X(1) - K43X(4) - K34X(3) - (SCLM/V2)X(3)",
xp4="K34X(3) - K43*X(4)"
),
out = list(
Y1 = list(
value = "X(1)/V",
err = list(
model = proportional(5),
assay = c(0.01, 0.1, 0, 0)
)
),
Y2 = list(
value = "X(3)/V2",
err = list(
model = proportional(5),
assay = c(0.01, 0.1, 0, 0)
)
)
)
))
Thanks,
Anne
Beta Was this translation helpful? Give feedback.
All reactions