> On 26 Oct 2014, at 21:51 , Don McKenzie <[email protected]> wrote: > >> >> On Oct 26, 2014, at 1:45 PM, Evan Kransdorf <[email protected]> wrote: >> >> Hello, >> >> I'm trying to use Lowess smooters to plot some data for regression >> analyses. When I do with certain variables, I get the following error: >> >>> plot(lowess(data$V1,data$V2)) >> Error in lowess(data$V1, data$V2) : 'delta' must be finite and > 0 >> >> Does anyone know where the problem is? I suspect there's a problem with my >> data somewhere. > > That sounds like a good guess, but without a reproducible example, no one can > say for sure.
Well, given that delta is an unspecified argument and that its default, which the poster might have looked up, is diff(range(x)), the poster might have suspected that perhaps the range of x, i.e. data$V1, is either 0 or non-finite. In the former case, all values of x are identical, in the latter, there are Inf or NA values among them. Either way, summary(data$V1) should be enlightening. >> >> Many thanks! >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> [email protected] mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > Don McKenzie > Research Ecologist > Pacific Wildland Fire Sciences Lab > US Forest Service > > Affiliate Faculty > School of Environmental and Forest Sciences > University of Washington > [email protected] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: [email protected] Priv: [email protected] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

