Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chae

Canine-Human Age Equivalent


Description

Calculates canines equivalent human age (for fun)

Usage

chae(x)

Arguments

x

numeric vector, dog age

Value

numeric vector, equivalent human age

Author(s)

Jeffrey S. Evans <jeffrey_evans@tnc.org>

References

Wang, T., J. M, A.N. Hogan, S. Fong, K. Licon et al. (2020) quantitative translation of dog-to-human aging by conserved remodeling of epigenetic networks

Examples

dat <- data.frame(DogAge = seq(0,18,0.25),
             HumanAge=chae(seq(0,18,0.25)))[-1,]

plot(dat$DogAge, dat$HumanAge, "l",
     main="Canine-Human Age Equivalence",
	 ylab="Human Age", xlab="Dog Age")
  points( 12, chae(12), col="red", pch=19, cex=1.5)
  points( 7, chae(7), col="blue", pch=19, cex=1.5)
  points( 0.5, chae(0.5), col="black", pch=19, cex=1.5)
legend("bottomright", legend=c("Camas (12-YO)", "Kele (7-YO)", "Aster (0.5-YO)"), 
      pch=c(19,19,19), cex=c(1.5,1.5,1.5), 
	     col=c("red","blue","black"))

spatialEco

Spatial Analysis and Modelling Utilities

v1.3-6
GPL-3
Authors
Jeffrey S. Evans [aut, cre], Melanie A. Murphy [ctb], Karthik Ram [ctb]
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.