Description Usage Format Source Examples
Documentation for simdat
1 |
a list as produced by function 'Sim_Mixture'
simulated by example below
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
a1 = 5 ; b1 = .3
a2 = 7 ; b2 = .7
d = c(0,.4,.8,1.5,3,6,12,20)
w = 1
xy = cbind(w*d,(1-w)*d)
w = 0
xy = rbind(xy,cbind(w*d,(1-w)*d))
w = .7
xy = rbind(xy,cbind(w*d,(1-w)*d))
x = xy[,1]
y = xy[,2]
n = rep(36,length(x))
simdat = Sim_Mixture(x=x,y=y,n=n,
par_Hill=c(a1,b1,a2,b2),
interaction_model='Loewe',
par_int=NULL,
distribution='binom')
plot(simdat$x,simdat$y,
xlab='dose compound 1',ylab='dose compound 2',
sub='Dose combinations')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.