Re: [R] Error in plot.window(...) : need finite 'ylim' values

2020-06-10 Thread Jim Lemon
Hi Ana, I don't have the qqman package, but is your "P" column in "M3.assoc.logistic.C" numeric or has it been read in as a factor? Jim On Thu, Jun 11, 2020 at 4:13 AM Ana Marija wrote: > > Hello, > > I do have a file like this: > head M3.assoc.logistic.C > CHR SNP BP P > 1 1:785989:T:C 785989 0

[R] Error in plot.window(...) : need finite 'ylim' values

2020-06-10 Thread Ana Marija
Hello, I do have a file like this: head M3.assoc.logistic.C CHR SNP BP P 1 1:785989:T:C 785989 0.4544 1 1:785989:T:C 785989 0.689 1 1:1130727:A:C 1130727 0.05068 1 1:1130727:A:C 1130727 0.07381 1 1:1156131:T:C 1156131 0.6008 1 1:1156131:T:C 1156131 0.8685 ... And I don't have any "NA" or "inf" va

Re: [R] Error in plot.window(...) : need finite 'ylim' values

2012-01-05 Thread Rich Shepard
On Thu, 5 Jan 2012, William Dunlap wrote: Most plot methods die with an error like this if all the values in y (or x) are NA. E.g., you get the same problem with plot(rep(NA, 10)) Remove the columns that are all NA's before trying to plot them. Bill, Ah, so. I did not look to see if all

Re: [R] Error in plot.window(...) : need finite 'ylim' values

2012-01-05 Thread William Dunlap
urData is a zoo object and plot.someOtherClass if it has someOtherClass.) Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Rich Shepard > Sent: Thursday,

Re: [R] Error in plot.window(...) : need finite 'ylim' values

2012-01-05 Thread Rich Shepard
On Thu, 5 Jan 2012, R. Michael Weylandt wrote: My initial guess is because you don't have any complete cases: cf. this behavior plot(c(NA, NA)) Michael, I may be creating the plots incorrectly: using plot() rather than plot.zoo(). When I compare the plot of the zoo object to a lattice xyplo

Re: [R] Error in plot.window(...) : need finite 'ylim' values

2012-01-05 Thread Rich Shepard
On Thu, 5 Jan 2012, R. Michael Weylandt wrote: My initial guess is because you don't have any complete cases: cf. this behavior plot(c(NA, NA)) Michael, Here's a data frame that does plot; no complete cases here, either: mahalla.tds.z MAH-100 MAH-225 MAH-50 MASH-10 MASH-20 MASH-

Re: [R] Error in plot.window(...) : need finite 'ylim' values

2012-01-05 Thread R. Michael Weylandt
My initial guess is because you don't have any complete cases: cf. this behavior plot(c(NA, NA)) If that's not it, dput() your data so that it's useable by others. Michael On Thu, Jan 5, 2012 at 10:43 AM, Rich Shepard wrote: >  Please provide a pointer to the source of this problem so I can und

[R] Error in plot.window(...) : need finite 'ylim' values

2012-01-05 Thread Rich Shepard
Please provide a pointer to the source of this problem so I can understand why it occurred. The data frame is: millc.tds.z MC-0.5 MC-1 MC-2 MC-30 MC-50 1994-01-20 NA NA 429NANA 1994-03-24 NA NA 479NANA 1994-04-21 NA NA 456NANA 1994-05-1