Displaying 1 result from an estimated 1 matches for "flitho".
Did you mean:
litho
2012 Apr 16
2
Problems with subset, droplevels and lm: variable lengths differ
...nd for 'litho').
How can I fix this?
> data(OsloTransect, package="rrcov")
> # keep a subset of variables & rename some variables
> Oslo <-OsloTransect[c("X.ID", "XCOO", "YCOO", "X.FOREST",
"X.WEATHER", "X.FLITHO", "ALT")]
> colnames(Oslo) <- c("site", "XC", "YC", "forest", "weather", "litho",
"altitude")
> Oslo <- cbind(Oslo, OsloTransect[,c("Cu", "Fe", "K", "Mg", &quo...