Learn R Programming

PHYLOGR (version 1.0.11)

GarlandJanis.varcov: Phylogenetic variance-covariance matrix for Garland \& Janis (1993).

Description

Phylogenetic variance-covariance matrix for the species in Garland \& Janis (1993). Note that the phylogeny is not exactly the same as in Garland \& Janis (1993), but actually corresponds to the more recent phylogeny in Garland et al. (1993).

Arguments

Format

A matrix with the phylogenetic distance between species; every entry dij is the sum of branch segment lengths that species i and j share in common.

See Also

GarlandJanis.Original, GarlandJanis.IC

Examples

Run this code
# NOT RUN {
## What do the data look like
head(GarlandJanis.Original)
head(GarlandJanis.varcov)

## An example of a GLS fit
fit.gls.GJ <- with(GarlandJanis.Original, 
                   phylog.gls.fit(cbind(body.mass,hind.l.length),
                                  running.speed, GarlandJanis.varcov)
     )

summary(fit.gls.GJ) # summary of the gls model; same as with IC


# }
# NOT RUN {
# This data set can be obtained from the original dsc file as:
  
    GarlandJanis.varcov <- read.phylog.matrix("49ms.dsc")


# }
# NOT RUN {


# }

Run the code above in your browser using DataLab