[R] repace values in raster based on values in another raster

2012-09-04 Thread sean_parks
Hi, I am attempting to create a new raster based on values of another raster. In the Arc world, this is called a "conditional statement" or "con statement". I am having quite a bit of difficulty figuring this out in R. Here is some pseudo-code: if (fire.did.not.occurr == 1) then (new. raster =

Re: [R] sample weight for box plot?

2010-01-06 Thread sean_parks
Thanks David. I used the wtd.quantile in Hmisc. Works great and is easy for a newbie like me. I am attempting to send the quantile values to boxplot, and it works for the most part. My problem is that one of my extreme values appears as a dot instead of the "whisker". It basically looks like a