Displaying 2 results from an estimated 2 matches for "ndead".
Did you mean:
dead
2009 Mar 22
1
Estimating LC50 from a Weibull distribution
...data; my data result from 96 h exposures
(i.e., dead or alive after a fixed period; 96 h). I've tried the
following (doesn't work):
> conc <- c(10.3, 10.8, 11.6, 13.2, 15.8, 20.1) # Exposure concentrations
> orign <- c(76, 79, 77, 76, 78, 77) # Original number of subjects
> ndead <- c(16, 22, 40, 69, 78, 77) # Number dead after 96 h
> d <- data.frame(conc=conc, orign=orign, ndead=ndead)
> d$prop <- d$ndead/d$orign # Calculate proportion dead after 96 h
# Adjust for 100% mortalities
> d$prop[d$prop==1.00] <- 1-(1/(2*d$orign[d$prop==1.00]))
> > fit...
2006 Oct 06
1
glm and plot.effects
Dear R-helpers,
I don't see a difference between the following two plots of effect
objects, which I understand should be different. What am I missing?
require(doBy)
require(effects)
data(budworm)
m1 <- glm(ndead/20 ~ sex + log(dose), data=budworm, weight=ntotal,
family=binomial)
m1.eff <- all.effects(m1)
plot(m1.eff, rescale.axis = FALSE, selection = 2, main = 'rescale = F')
plot(m1.eff, rescale.axis = TRUE, selection = 2, main = 'rescale = T')
*********************************
R vers...