[R] weighting histograms

2014-10-28 Thread Chris Jackson-Jordan
I am attempting to weight a histogram with another variable in the spreadsheet. does anyone know an easy way of doing this. I have been attempting to use weighted.hist from the plotrix package but I can't figure out how to use the other variable as the weight. I need to weight the Teton_Co_V colum

Re: [R] error in rownames

2014-09-25 Thread Chris Jackson-Jordan
.534297, 1.534883, 1.535686, 1.536898, 1.539433, 1.544022, 1.553086, 1.555488, 1.581577, 1.585341, 1.585509)), .Names = c("CID", "cosaspect", "disttoroad", "disttowat", "elevation", "habitat", "sinaspect", "slope", "

Re: [R] error in rownames

2014-09-25 Thread Chris Jackson-Jordan
inaspect, habitat, elevation, disttowat, > disttoroad, slope, cosaspect)) > type.rf <- yai(x=x, y=y, method="randomForest", rfMode="regression", > ntree=20) > outfile <- list(Type="RespSurf_Reg.asc") > xfile <-list(sinaspect="sinaspect.asc",

[R] error in rownames

2014-09-22 Thread Chris Jackson-Jordan
Dear fellow R users, I am trying to run the random forest and Yaimpute packages in R to impute a grid to project in a gis. However, after running the imputation I keep getting an error in the rownames. This sounds simple enough, but I cannot figure out what these rownames are reffering to. Any ide

[R] Error in rownames

2014-09-19 Thread Chris Jackson-Jordan
Dear fellow R users, I am trying to run the random forest and Yaimpute packages in R to impute a grid to project in a gis. However, after running the imputation I keep getting an error in the rownames. This sounds simple enough, but I cannot figure out what these rownames are reffering to. Any ide