Clinical PK/PD

濃度推移の重ね描き

最終更新:

hks

- view
だれでも歓迎! 編集

個体での血漿中濃度推移をひとつのグラフ内で重ね描き


 plot.super <-
 function(
   tab, ID="ID", Y="DV",
   xlab="Time (hr)", ylab="Concentration (ng/mL)",
   ...
 ) {
   tab.plot <- data.frame(ID=tab[,ID], TIME=tab$TIME, Y=tab[,Y])
   res <- xyplot(
     Y ~ TIME, tab.plot, groups=ID, panel=panel.superpose,
     type="l",
     xlab=xlab, ylab=ylab,
     ...
   )
   res
 }

plot.super(tab[tab$MDV==0,], ID="SID",
  ylab="Plasma concentration (ng/mL)")

タグ:

R
+ タグ編集
  • タグ:
  • R

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

目安箱バナー