Learn R Programming

PHYLOGR (version 1.0.11)

SimulExample: A simulated data set

Description

A simulated data set; the phylogeny is based in Bauwens and Diaz-Uriarte (1997), such as is included in the file ifsm.pdi (in the Examples directory). But the data are all completely fictitious and have nothing to do with lacertids (or, for that matter, with any other creatures).

Arguments

Format

This data frame contains the following columns:

sim.counter

the simulation counter

Tips

the name of tips; it matches those for the lacertid examples but, again, is unrelated to those

y

one numeric variable

x1

another numeric variable

x2

ditto

x3

ditto

x4

ditto

x5

guess what? same thing

x6

again

x7

once more

diet

a factor with fictitious levels Carnivore Herbivore Ommnivore

Examples

Run this code
# NOT RUN {
# a canonical correlation example
data(SimulExample)
ex1.cancor <- cancor.phylog(SimulExample[,c(1,2,3,4,5)],SimulExample[,c(1,2,6,7,8)])
ex1.cancor
summary(ex1.cancor)
plot(ex1.cancor)
# }

Run the code above in your browser using DataLab