The object 'eklof' has three items: a 'network' object, a 'tree' object, and a 'traits' object. The 'network' object is a binary SxS matrix where a value of 1 indicates that the row species consumes the column species. The 'tree' object is a phylogenetic tree of class 'phylo' (see 'ape::read.tree'). The 'traits' object is a data frame with species names as row names and columns for different species traits (which can be both continuous or categorical). These data constitute a synthetic dataset created to demonstrate how to use the 'phyloint' package and hence do not have an associated reference.
1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | List of 3
$ network: int [1:69, 1:69] 0 0 0 0 0 0 0 0 0 0 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:69] "sp_1" "sp_2" "sp_3" "sp_4" ...
.. ..$ : chr [1:69] "sp_1" "sp_2" "sp_3" "sp_4" ...
$ tree :List of 5
..$ edge : int [1:104, 1:2] 70 71 72 72 73 74 74 74 75 75 ...
..$ Nnode : int 36
..$ tip.label : chr [1:69] "sp_1" "sp_2" "sp_3" "sp_9" ...
..$ edge.length: num [1:104] 0.0147 0.4118 0.5735 0.2353 0.1029 ...
..$ root.edge : num 0
..- attr(*, "class")= chr "phylo"
..- attr(*, "order")= chr "cladewise"
$ traits :'data.frame': 69 obs. of 2 variables:
..$ trait.1: num [1:69] 12000 2250 1100 10300 1110 710 2150 700 540 180 ...
..$ trait.2: Factor w/ 4 levels "A","B","C","D": 2 2 2 2 2 2 2 2 2 2 ...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.