Neba Funwi-Gabga
2010-Oct-12 13:22 UTC
[R] Data conversion from class asc to class kasc (Adehabitat)
Hello list, I am trying to do an Ecological Niche Factor Analysis using the adehabitat package, but I am facing problems with preparing my covariates for input. The covariates are of class "asc" and i need to get them to class "kasc" using the "as.kasc" function. But when I try to create the list, I get an error message saying "all the objects should have the same attributes". This is the code I am using to create the kasc object:> covariates <- as.kasc(list(dem=import.asc("elevation.asc"),slope=import.asc("slope.asc"), slope.position=import.asc("slope_position.asc"), + water=import.asc("water_distance.asc"), vegetation=import.asc("vegetation.asc"))) Please any help on this? -- Neba, Funwi-Gabga MSc student in Geosp. Tech. [[alternative HTML version deleted]]