tr = ape::rtree(10)
model = glinv_gauss(tr, x0=c(0,0)) # The `X` argument is implicitly NULL
model2 = model # This is not copied!
traits = matrix(rnorm(20), 2, 10)
set_tips(model, traits)
Run the code above in your browser using DataLab