Displaying 1 result from an estimated 1 matches for "hill_coef".
2012 May 02
3
strange differences in vector operation versus manual calculation
...very
obvious, but I just cannot see it
xx <- c(-9.56305825951348, -8.20220288142583, -6.84134750333818,
-5.48049212525052,
-4.11963674716287)
params <- structure(c(-7.9292094394, 4.9549173134, 4.738588416, 101.5743644892
), .Names = c("LOG_AC50", "HILL_COEF",
"INF_ACTIVITY", "ZERO_ACTIVITY"
))
yy <- params[4] + (params[3] - params[4])/(1 + 10^(params[1]-xx)^params[2])
t1 <- 10^(params[1]-xx)
t2 <- params[3] - params[4]
t3 <- (1+t1)^params[2]
t4 <- t2/t3;
t5 <- params[4] + t4
I wou...