search for: mendelssohn

Displaying 20 results from an estimated 99 matches for "mendelssohn".

2017 Oct 17
2
ggridges help
...ork 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.mendelssohn at noaa.gov> wrote: > 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(plotFr...
2017 Oct 17
0
ggridges help
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.mendelssohn at noaa.gov> wrote: > 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 estimat...
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
> On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > > Thanks to all for responses/. There was a question of exactly what was wanted. It is the generalization of the obvious example I gave, > >>>> junk1 <- junk[, rev(seq_len(10), ] > > > so that >...
2017 Jun 01
1
Reversing one dimension of an array, in a generalized case
...TRUE > all.equal(f(z, 2), f2(z, 2)) > # [1] TRUE > all.equal(f(z, 3), f2(z, 3)) > # [1] TRUE > all.equal(f(z, 4), f2(z, 4)) > # [1] TRUE > > David C > > > From: Ismail SEZEN [mailto:sezenismail at gmail.com] > Sent: Thursday, June 1, 2017 3:35 PM > To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> > Cc: David L Carlson <dcarlson at tamu.edu>; R-help <r-help at r-project.org> > Subject: Re: [R] Reversing one dimension of an array, in a generalized case > > > On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal...
2018 Jan 02
4
httr::content without message
...et: Parsed with column specification: cols( `time (UTC)` = col_datetime(format = "") ) I want to suppress that output. Thanks, -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/ &q...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
...(apply(a, dims, rev), idx) } all.equal(f(z, 1), f2(z, 1)) # [1] TRUE all.equal(f(z, 2), f2(z, 2)) # [1] TRUE all.equal(f(z, 3), f2(z, 3)) # [1] TRUE all.equal(f(z, 4), f2(z, 4)) # [1] TRUE David C From: Ismail SEZEN [mailto:sezenismail at gmail.com] Sent: Thursday, June 1, 2017 3:35 PM To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> Cc: David L Carlson <dcarlson at tamu.edu>; R-help <r-help at r-project.org> Subject: Re: [R] Reversing one dimension of an array, in a generalized case On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at no...
2017 Aug 29
3
RMarkdown question
...t such and such code chunk is an example of how to do something, and have that link to the appropriate code chunk. Thanks for any help. -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/ &q...
2017 Oct 17
2
ggridges help
...t, but as a ridgeline for each depth. -Roy > On Oct 17, 2017, at 12:39 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > > ...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.mendelssohn at noaa.gov> wrote: > 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...
2017 Jun 01
2
Reversing one dimension of an array, in a generalized case
...ponent ?dim?: Mean relative difference: 0.5714286 >" [2] "Mean relative difference: 0.5855162" David C -----Original Message----- From: Bert Gunter [mailto:bgunter.4567 at gmail.com] Sent: Thursday, June 1, 2017 2:00 PM To: David L Carlson <dcarlson at tamu.edu> Cc: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov>; R-help <r-help at r-project.org> Subject: Re: [R] Reversing one dimension of an array, in a generalized case ?? > z <- array(1:24,dim=2:4) > all.equal(f(z,3),f2(z,3)) [1] "Attributes: < Component ?dim?: Mean relative diff...
2017 Jun 01
5
Reversing one dimension of an array, in a generalized case
...junk1 comes out as two-dimensional, not three-dimensional. It is probably something obvious but I am not getting it. Thanks for any help. -Roy ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new street address*** 110 McAllister Way Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/ &q...
2017 Oct 17
0
ggridges help
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.mendelssohn at noaa.gov> wrote: > 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() > gg...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
...4286 >" > [2] "Mean relative difference: 0.5855162" > > David C > > -----Original Message----- > From: Bert Gunter [mailto:bgunter.4567 at gmail.com] > Sent: Thursday, June 1, 2017 2:00 PM > To: David L Carlson <dcarlson at tamu.edu> > Cc: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov>; R-help <r-help at r-project.org> > Subject: Re: [R] Reversing one dimension of an array, in a generalized case > > ?? > >> z <- array(1:24,dim=2:4) >> all.equal(f(z,3),f2(z,3)) > > [1] "Attributes: &l...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
...5) ## I omit the printouts f(z,2) f(z,3) Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Jun 1, 2017 at 9:51 AM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > Hi All: > > I have been looking for an elegant way to do the following, but haven't found it, I have never had a good understanding of any of the "apply" functions. > > A simplified idea is I have an array, s...
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
...RUE ------------------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Bert Gunter Sent: Thursday, June 1, 2017 12:46 PM To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> Cc: R-help <r-help at r-project.org> Subject: Re: [R] Reversing one dimension of an array, in a generalized case How about this: f <- function(a,wh){ ## a is the array; wh is the index to be reversed l<- lapply(dim(a),seq_len) l...
2018 Jan 02
1
httr::content without message
...h arguments, like col_types = cols(), to the file reader. > > junk <- httr::content(r1, col_types = cols()) > > See more here... > > https://blog.rstudio.com/2016/08/05/readr-1-0-0/ > > > Cheers, > Ben > > > >> On Jan 2, 2018, at 12:30 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: >> >> Hi All: >> >> I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the me...
2008 Mar 15
1
How to create following chart for visualizing multivariate time series
Let me take an artifical matrix : dat = matrix(rnorm(200*200), 200, 200) My goal is to visualize this matrix according to the procedure, described in previous mails. I took Mendelssohn's advice and got following advice : ?plot.im Z <- setcov(owin()) plot(Z) .................... etc However I can not reproduce this example in my problem. How I can change my data matrix 'dat' to 'Z' ? If anyone show me some light it would be great for me....
2017 Aug 29
0
RMarkdown question
...is HTML, you can add an arbitrary empty HTML element like <span id="foo"></span> before your code chunk. Then you can jump to this <span> via a link like "see [this code chunk](#foo)". Regards, Yihui -- https://yihui.name On Tue, Aug 29, 2017 at 1:30 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > Hi All: > > In creating a R Notebook I know that in the text I can link to a (sub) section by using the command: > > > [Header 1](#anchor) > > > and putting the appropriate anchor name at the appropriate header...
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
...> Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > > > > > > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Bert Gunter > Sent: Thursday, June 1, 2017 12:46 PM > To: Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> > Cc: R-help <r-help at r-project.org> > Subject: Re: [R] Reversing one dimension of an array, in a generalized case > > How about this: > > f <- function(a,wh){ ## a is the array; wh is the index to be reversed > l...
2007 Jun 12
2
[OT]Web-Based Data Brushing
...a web site, or in a web-based application, such as an AJAX app. Even better if there is a way to do this in R. Thanks for any help. -Roy M. ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: Roy.Mendelssohn at noaa.gov (Note new e-mail address) voice: (831)-648-9029 fax: (831)-648-8440 www: http://www.pfeg.noa...
2018 Jan 02
0
httr::content without message
...pass through arguments, like col_types = cols(), to the file reader. junk <- httr::content(r1, col_types = cols()) See more here... https://blog.rstudio.com/2016/08/05/readr-1-0-0/ <https://blog.rstudio.com/2016/08/05/readr-1-0-0/> Cheers, Ben > On Jan 2, 2018, at 12:30 PM, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote: > > Hi All: > > I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but have...