Displaying 3 results from an estimated 3 matches for "r83330".
Did you mean:
83330
2023 Feb 23
2
Palettes {grDevices} - wrong number of colors returned?
...alpha=c(0, 0.5, 1)) # 3 colors
heat.colors(3, alpha=c(0, 0.5, 1)) # 3 colors
terrain.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
cm.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
topo.colors(3, alpha=c(0, 0.5, 1)) # 9 colors
R-Version and platform:
R version 4.2.2 Patched (2022-11-10 r83330) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
Bug or feature?
Sigbert
--
https://hu.berlin/sk
https://www.stat.de/faqs
https://hu.berlin/mmstat
https://hu.berlin/mmstat-ar
2023 Feb 23
1
Palettes {grDevices} - wrong number of colors returned?
...colors(3, alpha=c(0, 0.5, 1)) # 3 colors
>
> terrain.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
>
> cm.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
>
> topo.colors(3, alpha=c(0, 0.5, 1)) # 9 colors
>
> R-Version and platform:
> R version 4.2.2 Patched (2022-11-10 r83330) -- "Innocent and Trusting"
>
> Copyright (C) 2022 The R Foundation for Statistical Computing
>
> Platform: x86_64-pc-linux-gnu (64-bit)
>
> Bug or feature?
Looks like a bug to me, they should all be length 3. The reason it
happens in terrain.colors (I didn't l...
2023 Feb 23
1
Palettes {grDevices} - wrong number of colors returned?
...colors
>>
>> terrain.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
>>
>> cm.colors(3, alpha=c(0, 0.5, 1)) # 6 colors
>>
>> topo.colors(3, alpha=c(0, 0.5, 1)) # 9 colors
>>
>> R-Version and platform:
>> R version 4.2.2 Patched (2022-11-10 r83330) -- "Innocent and Trusting"
>>
>> Copyright (C) 2022 The R Foundation for Statistical Computing
>>
>> Platform: x86_64-pc-linux-gnu (64-bit)
>>
>> Bug or feature?
>
> Looks like a bug to me, they should all be length 3. The reason it happens...