PK simulation [🇷 for BE/BA]

posted by jag009  – NJ, 2012-03-30 22:34 (4766 d 13:22 ago) – Posting: # 8359
Views: 13,530

Hi Helmut,

  V      <- rlnorm(n=1, meanlog=log(V.d)-0.5*log(V.c^2+1),

              sdlog=sqrt(log(V.c^2+1)))

  k01    <- rlnorm(n=1, meanlog=log(k01.d)-0.5*log(k01.c^2+1),

              sdlog=sqrt(log(k01.c^2+1)))


Sorry for the interruption and excuse me for my novice question... How did you arrive at the meanlog equation? I looked the rlnorm syntax from R manual and the mean equation different.

Thanks

John


Hi Helmut,
Never mind.. It's Friday here. Wasn't thinking straight...:sleeping:


Edit: Copypasted from follow-up post. You can edit your posts for 24 hours. [Helmut]
P.S.: See Martin’s post.

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,713 registered users;
31 visitors (0 registered, 31 guests [including 6 identified bots]).
Forum time: 11:56 CEST (Europe/Vienna)

Do not worry about your difficulties in mathematics.
I can assure you mine are still greater.    Albert Einstein

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5