rate_gls_sim: Simulate responses from rate_gls fit
Description
rate_gls_sim responses from the models defined by an object of class
'rate_gls'.
Usage
rate_gls_sim(object, nsim = 10)
Value
An object of class
'simulate_rate', which is a list
with the following components:
tips
A data frame of x and y values for the tips.
percent_negative_roots
The percent of iterations
with negative roots in the rates of y (not given for model =
'recent_evol').
compl_dynamics
Arguments
object
The fitted object from rate_gls
nsim
The number of simulations.
Author
Geir H. Bolstad
Details
rate_gls_sim simply passes the estimates in an object of
class 'rate_gls' to the function simulate_rate for
simulating responses of the evolutionary process. It is mainly intended for
internal use in rate_gls_boot.