Description Usage Arguments Details Value Functions See Also Examples
Tests if an object is of class 'cophy'
1 2 3 | is.cophy(cophy)
is.multiCophylo(multiCophy)
|
cophy |
an object to test to see if it is of class 'cophy' |
multiCophy |
an object to test for multiCophy |
Checks that an object is of class 'cophy'. For multicophy checks that the class is 'multiCophylo' and that each element is of class 'cophy'.
A logical vector
is.multiCophylo
: Tests for 'multiCophylo' composed of 'cophy' objects
as.cophy
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | h_lambda <- 1.0
h_mu <- 0.3
c_lambda <- 0.0
s_lambda <- 1.0
s_mu <- 0.3
s_her <- 0.0
host_symb_sets <- sim_cophyBD(hbr = h_lambda,
hdr = h_mu,
sbr = s_lambda,
cosp_rate = c_lambda,
sdr = s_mu,
host_exp_rate = s_her,
time_to_sim = 2.0,
numbsim = 1)
is.cophy(host_symb_sets[[1]])
is.multiCophylo(host_symb_sets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.