# NOT RUN {
showClass("trip")
## Examples of general methods
## Continuing the example from '?trip-methods:
utils::example("trip-methods", package="trip",
ask=FALSE, echo=FALSE)
summary(tr)
plot(tr)
lines(tr)
dim(tr)
names(tr)
subset(tr, id == "2")
as.data.frame(tr)
tr[1:3, ]
tr[, 1]
tr[[1]]
if (exists("porpoise")) {
dim(porpoise)
names(porpoise)
porpoise[porpoise[["id"]] == "GUS", ]
}
# }
Run the code above in your browser using DataLab