Displaying 2 results from an estimated 2 matches for "floodplain".
2010 Aug 26
3
Non-standard sorts on vectors
I have a dataset I need to sort:
test.df<-data.frame(Zone=c("Floodplain", "Lake",
"Shoreline"),Cover=c(50,60,70))
However, I don't want it sorted ascending/descending but in an order that I
define via a vector:
sort.v<-data.frame(c("Lake","Shoreline","Floodplain"))
I realize I could probably just create...
2009 Sep 29
1
vectors levels are carried through to subsets...
...x75
[19] Hydroseed 25x75 Hydroseed 25x75 Hydroseed 25x75 Hydroseed 25x75
Hydroseed 25x75 Hydroseed 25x75 Hydroseed 25x75 Hydroseed 25x75 Hydroseed
25x75
[28] Hydroseed 25x75 Hydroseed 25x75 Hydroseed 25x75 Hydroseed 25x75
25 Levels: Black Cottonwood Black Cottonwood Enhanced Emergent Emergent
25x75 Floodplain 1 Floodplain 2 Floodplain 3 Hydroseed 25x75 ... Western Red
Cedar Enhanced
This seems rather innocuous; however, when I run a by statement, it returns
a list with 25 entries, 23 of which are of course NA....is there a way to
avoid this?
--
View this message in context: http://www.nabble.com/vect...