Re: [R] Help for funnel plot

2022-05-15 Thread Jim Lemon
Hi, Looking at the help page for "funnel", I first thought that the "shade" argument would be the one. However, that seems to take a specific color. Perhaps the function computes the shading from that. I have never used the "funnel" function myself, so I don't have a good idea of how that left-to-r

Re: [R] Help for funnel plot

2022-05-15 Thread De Simone
Hi Rui Thank you. The default for the shade and hilinees is ok, that is why I didn't add it. I attached the example image as PDF my question is how to get gradient colors for the background like the one attached And again how to get different types of lines for the Reference and confidence. The ar

Re: [R] Help for funnel plot

2022-05-15 Thread Jim Lemon
Hi, There are a number of functions that will transform numeric values into colors. One is color.scale in the plotrix package. This accepts a vector of numeric values and linearly transforms them into one or more ranges of colors. The resulting colors can then be passed to the appropriate arguments