Learn R Programming

PHYLOGR (version 1.0.11)

Lacertid.IC: Independet contrasts for Bauwens and Diaz-Uriarte (1997) lacertid data set

Description

Independent contrast for Bauwens and Diaz-Uriarte (1997) data set; they are based on the data in the file Lacertid.Original using the phylogeny in Buwens and Diaz-Uriarte (1997), Tree A --- see Lacertid.varcov

Arguments

Format

The data frame contains eight columns. The first seven columns are the (standardized) independent contrasts for the respective variables ---see detailed explanation in Lacertid.Original. The final column is

contr

the names of the contrasts, as the names of the two nodes that form the contrast

See Also

Lacertid.varcov, Lacertid.Original

Examples

Run this code
# NOT RUN {
# Obtaining correlations through the origin;
# compare with Table 3 in Bauwens and Diaz-Uriarte (1997).

data(Lacertid.IC)
cor.lacert <- matrix(nrow=7,ncol=7) 
for (i in 1:7) for (j in 1:7)
cor.lacert[i,j] <- cor.origin(Lacertid.IC[[i]],Lacertid.IC[[j]])
cor.lacert




# }
# NOT RUN {
# This data frame can be obtained from the fic data files as:
  
LacertidIC <- cbind(read.table("ifsmi.fic")[,c(3,4)],
                    read.table("ihshw.fic")[,c(3,4)],
                    read.table("iclag.fic")[,c(3,4)],
                    read.table("icfxx.fic")[,3])
stand <- read.table("ifsmi.fic")[,5]
LacertidIC <- LacertidIC/stand
LacertidIC$contr <- read.table("ifsmi.fic")[,1]
names(LacertidIC) <- c("svl","svl.matur", "hatsvl", "hatweight",
                      "clutch.size", "age.mat","cl.freq","contr")
# }
# NOT RUN {


# }

Run the code above in your browser using DataLab