Re: [R] Four parameter logistics.

2011-02-08 Thread Victor F Seabra
try the code below, if you use different upper and lower limits you might get different parameter estimates HTH, Victor standard.curve<-data.frame(conc=c(50, 25, 12.5, 6.25, 3.125, 1.563, 0.781,50, 25, 12.5, 6.25, 3.125, 1.563, 0.781),absorb=c(1.918, 1.251, 1.104, 0.719, 0.403, 0.177, 0.083,1.9

Re: [R] Four parameter logistics.

2011-02-07 Thread Ramya
Hi, I decided to use the drm function for four point fitting and in the all the examples that i see spinach.m1 <- drm(SLOPE~DOSE, CURVE, data = spinach, fct = LL.4()) fit1 <- drm(wheeze~p(age>9)+smoking+cluster(id),data=wheeze,dep="B", print=0) what are these with '~' mean? This is my data