# Using the built-in data set instead of the TXT file for the example in Section
# 10.12 of the book is easy, as the format is the same as the file.
?ttdPeregrine # check the description of the data
data(ttdPeregrine)
# Instead of data <- read.table("ttdPeregrine.txt", header = TRUE, sep = "\t") do:
data <- ttdPeregrine
# Then continue with the rest of the analysis on p.618
Run the code above in your browser using DataLab