if (FALSE) {
file <- system.file("external/data.sdd", package="sdm")
d <- read.sdm(file)
d # a sdmdata object
df <- as.data.frame(d)
head(df)
# only the records with rID == c(1,2,3):
as.data.frame(d, ind=1:3)
}
Run the code above in your browser using DataLab