y) depends on the states for the first x. See ratebystate for more details.sim.ratebystate(tree, sig2x=1, sig2y=1, beta=c(0,1), ...)x.y when x-min(x)==1 (for logarithm=FALSE) or x==0 (for logarithm=TRUE).x and the Brownian rate in y.method ("by.node" or "by.branch" indicating whether to assume the rate varies as a function of the node state or the mean branch state); plot, a logical value indicating fastBM, ratebystate