Displaying 4 results from an estimated 4 matches for "vancomycin".
Did you mean:
vancomicina
2000 Apr 27
1
plotting axes
Dear friends. I appreciate the help that plot.date is not yet fully
developed but beautiful and efficient as is anyway. I attach again an
example from a real patient and now the problem is how to represent a
chemical C-reactive protein (CRP) on the plot together with concentration
of vancomycin. CRP was 25-200 and vancomycin below about 20. I only could
get it about right by dividing CRP by 10 and the plot is informative as is
- but how could I make an axis for the CRP ? I've tried taking all axes
away (but dates are not taken away, anyway) and adding
axis(4,at=seq(25,200,by=25))...
2000 Apr 26
1
xaxp with dates
...his way ?
Thank you for your (so far) endless patience !
data <- read.table("vanco1.dat",h=T)
op <- par("xaxp"=c(14620,14680,4),"cex.axis"=0.5)
attach(data)
library(date)
dates <- mdy.date(month,day,year)
plot(dates,vanco,pch=c(19),xlab='',ylab="[Vancomycin]",
main="Vanco versus weekly dose")
abline(h=10,lty=2)
dm <- c(1,1,1,1,2,2,3)
dd <- c(7,17,21,31,23,25,3)
dy <- rep(2000,7)
limits <- mdy.date(dm,dd,dy)
abline(v=limits,lty=8)
x <- c(14611.37, 14620.95, 14627.94, 14634.44, 14650.85, 14663.85,
14667.58,14680.15)
mtext(...
2000 Mar 04
0
Re: persp() problem
...;1 24 2000 4 8.7
>1 26 2000 4 11.1
>1 31 2000 4 12.3
>2 7 2000 4.5 12.0
>2 14 2000 4.5 14.9
>2 18 2000 4.5 23.0
>2 25 2000 3 20.1
>2 28 2000 2 11.3
>
>dates <- mdy.date(month,day,year)
>persp(dosis,dates,vanco)
>-- trying to produce a three demensional picture of vancomycin versus dose
and data.
>but: Error in persp(dosis, dates, vanco) : increasing x and y values expected
>Dates is increaing, and I couldnot figure out how to make both dosis and
dates increase and wonder
>how to produce a surface in this situation.
Dear Troels,
Sure it won't work. The h...
2000 Apr 11
1
dates in 0.99 and 1.0 windows
...28 2000 2 11.3
3 1 2000 2 13.7
3 8 2000 3 12.8
3 10 2000 3 7.4
3 13 2000 3 9.1
3 15 2000 3 12.2
3 17 2000 3 13.8
data <- read.table("vanco1.dat",h=T)
attach(data)
library(date)
dates <- mdy.date(month,day,year)
plot(dates,vanco,pch=c(19),xlab='',ylab="[Vancomycin]",
main="serum Vanco versus weekly dose")
abline(h=10,lty=2) #lower acceptable concentration
dm <- c(1,1,1,1,2,2,3)
dd <- c(7,17,21,31,23,25,3)
dy <- rep(2000,7)
limits <- mdy.date(dm,dd,dy)
abline(v=limits,lty=8)
#d <- locator(8)
x <- c(14611.37, 14620.95, 14627.94...