Learn R Programming

PHYLOGR (version 1.0.11)

GarlandJanis.Original: Garland \& Janis's 1993 data on mammalian running speed and limb length

Description

This data set was used by Garland \& Janis in their analysis of metatarsal/femur ration and running speed in cursorial mammals. The data refer to several ecomorphological characteristics for a set of 49 mammals (18 carnivores and 29 ungulates).

Arguments

Format

This data frame contains the following columns:

Tips

the code for each species

body.mass

log 10 of body mass in kilograms

running.speed

log 10 running or sprint speed in km/h

hind.l.length

log 10 hind limb length ---sum of femur, tibia, and metatarsal lengths---in cm

mtf.ratio

metatarsal/femur ratio

clade

a factor with levels Carnivore or Herbivore

See Also

GarlandJanis.IC, GarlandJanis.varcov

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 prepared from the original pdi files
# (in directory Examples) as:
GarlandJanis.Orig <- read.pdi.data(c("49ms.pdi","49hmt.pdi"),
                   variable.names = c("body.mass", "running.speed",
                                      "hind.l.length","mtf.ratio")) 
Garland.Janis.Orig$clade <- as.factor(c(rep("Carnivore",19),
				      rep("Herbivore",30)))
  
# }
# NOT RUN {



# }

Run the code above in your browser using DataLab