[R] how to standardize raster image (GeoTiff) in R?

2015-02-23 Thread Angela Smith
Hi R user, Would you give me some hints on to standardize the raster image (GeoTiff). I used the following code but did not work. would you give me some hints on it? #-- #code # center with 'apply()' center_apply <- function(x) { apply(x, 2, function(y) y - me

[R] how to convert raster images to .kasc format

2015-02-19 Thread Angela Smith
Hi R user, I was trying to convert raster images into *kasc format using "adehabitat" package in R. but I could not convert it. I spent a lot of time but no luck. would you mind to give some hints to convert this example data?. I would really appreciate for your help. cheers, AS

Re: [R] subsamples and regressions for 100 times

2015-02-17 Thread Angela Smith
n > Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Michael Dewey > Sent: Tuesday, February 17, 2015 9:52 AM > To: Angela Smith; r-help@r-pr

[R] subsamples and regressions for 100 times

2015-02-17 Thread Angela Smith
Hi R user, I'm new to R so my problem is probably pretty simple but I'm stuck: my data is consist of 2 variables: co2, temp and one treatment (l_group). The sample size is different among the treatments. so that, I wanted to make equal sample size among three groups (A,B and C) of the treatmen