simulated.datasets {phylopairs} | R Documentation |
Simulated datasets are provided to help users understand functions. Lineage-pairs (n=190) were created from a simulated phylogenetic tree with 20 tips. A predictor variable was generated from random draws of a standard normal. Reponse variables of various structures were simulated as follows:
Simulated Dataset 1 Unbounded response, linear relationship between response and predictor, no covariance in residuals
Simulated Dataset 2 Unbounded response, no relationship between response and predictor, no covariance in residuals
Simulated Dataset 3 Unbounded response, linear relationship between response and predictor, covariance in residuals
Simulated Dataset 4 Unbounded response, no relationship between response and predictor, covariance in residuals
Simulated Dataset 5 Bounded response, linear relationship between response and predictor on link scale, no covariance in residuals
Simulated Dataset 6 Bounded response, no relationship between response and predictor on link scale, no covariance in residuals
Simulated Dataset 7 Bounded response, linear relationship between response and predictor on link scale, covariance in residuals
Simulated Dataset 8 Bounded response, no relationship between response and predictor on link scale, covariance in residuals
Simulated Lineage-Pair Covariance Matrix A 190*190 covariance matrix used in simulating the example datasets in this package.
Simulated Phylogenetic Tree A 20-species ultrametric phylogenetic tree used in simulating the example datasets in this package.
The datasets are as follows
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A data frame with 190 rows and 4 columns.
Identity of Species 1 in Pair
Identity of Species 2 in Pair
Numeric predictor variable
Numeric response variable
A 190x190 covariance matrix
A phylo object
Simulated data generated with the script provided in the 'inst' directory.