Perfect, thank you.
I find the Unix style help usual in R is really only helpful once you know what
everything is doing. That makes a good vignette, that shows what all of the
options do in a careful way, really important.
Thanks again.
-Roy
> On Oct 17, 2017, at 2:01 PM, William Dunlap
The min_height = -0.25 is there to make it show cycle values down to -1/4.
You may want to change it to -1 so it shows more of the cycle values.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 1:26 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelss...@noaa.gov> wrote:
> yes,
yes, thanks, and I was getting close to that. One thing I found is the manual
says the height is the distance above the y-line, which should be, but doesn't
have to be positive. In fact, the time series are estimates of a cycle, and
has negative values, which unfortunately are not includ
Does the following work for you?
ggplot2::ggplot(plotFrame, aes(x = time, y = depth, height = cycle,
group = depth)) + ggridges::geom_ridgeline(fill="red", min_height=-0.25)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 12:43 PM, Roy Mendelssohn - NOAA Federal <
roy.me
I have tried:
ggplot(plotFrame, aes(x = time, y = cycle, height = cycle, group = depth)) +
geom_ridgeline()
ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) +
geom_ridgeline()
ggplot(plotFrame, aes(x = time, y = depth, group = depth)) +
geom_density_ridges()
none are
...and your question is...?
... and the code you tried that didn't work was?
Bert
On Oct 17, 2017 12:22 PM, "Roy Mendelssohn - NOAA Federal" <
roy.mendelss...@noaa.gov> wrote:
> Hi All:
>
> I am just not understanding ggridges. The data I have are time series at
> different depths in the ocean
Hi All:
I am just not understanding ggridges. The data I have are time series at
different depths in the ocean. I want to make a joy plot of the time series by
depth.
If I was just doing a ggplot2 line plot I would be doing:
ggplot(plotFrame, aes(x = time, y = cycle, group = depth)) + geom_l
7 matches
Mail list logo