Dear Jim,
this is just to confirm that it your solution worked :)
Regards
Alex
--- On Fri, 2/18/11, Jim Lemon wrote:
> From: Jim Lemon
> Subject: Re: [R] color.scale error
> To: "Alaios"
> Cc: R-help@r-project.org
> Date: Friday, February 18, 2011, 9:10 AM
> On
On 02/18/2011 04:31 AM, Alaios wrote:
Dear all
when I call color.scale like this:
require('plotrix')
colcolor<-color.scale(c(range_sr,sr),extremes=c("red","blue"))
Error in if (min(reds)< 0 || max(reds)> 1) reds<- rescale(reds, c(0, :
missing value where TRUE/FALSE needed
range_sr
[1]
Dear all
when I call color.scale like this:
require('plotrix')
colcolor<-color.scale(c(range_sr,sr),extremes=c("red","blue"))
Error in if (min(reds) < 0 || max(reds) > 1) reds <- rescale(reds, c(0, :
missing value where TRUE/FALSE needed
range_sr
[1] -10.00 44.02977813958366
3 matches
Mail list logo