Displaying 2 results from an estimated 2 matches for "urbanwq".
2005 Nov 01
1
help with hier.part
...t) I'd like to include and includes
column headers. nat_est is the response variable and is the number of
species at a particular point. The other variables are the explanatory
vars (vark, var2, var1, UK, U2, U1, GK, G2, G1, PK, P2, P1).
Here is Walsh's sample code for hier.part:
data(urbanwq)
env <- urbanwq[,2,8]
hier.part(urbanwq$lec, env, fam="gaussian", gof="Rssqu")
The code I wrote is
library(hier.part)
SRUSE<- read.table("F:\\GEORGIA\\species_richness\\SR_use2.txt", sep="
", header = TRUE, row.names = 1)
TEMP<- SRUSE[2:13]
hier.p...
2005 Oct 07
3
index question
All,
I'm having a problem selecting directly from a vector. I've written ways to do this
indirectly, but I'd rather do it directly and didn't see this in the manual.
Essentially, I have:
> group.label.new
[1] 7 9 6 1 10 4 8 3 2 5
> junk
[1] 1 2
> group.label.new[junk && 8:10]
[1] 7 9 6 1 10 4 8 3 2 5
I'd like to select the elements