SADs <- expected.SAD.Guilds.Conditional(theta = 42,
alpha_x = 0.01,
alpha_y = 0.1,
Jx = 100,
Jy = 200,
n_replicates = 3)
par(mfrow=c(1,2))
barplot(SADs$guildX, names.arg=0:(length(SADs$guildX) - 1),
xlab = "Number of individuals (log2)",
ylab = "Number of Species", main = "Guild X" )
barplot(SADs$guildY, names.arg = 0:(length(SADs$guildY) - 1),
xlab = "Number of individuals (log2)",
ylab = "Number of Species", main = "Guild Y" )
Run the code above in your browser using DataLab