[R] scaling loess curves

Bogdan Tanasa tanasa at gmail.com
Mon Sep 7 08:00:14 CEST 2015


Dear all,

please could you advise about a method to scale 2 plots of LOESS curves.
More specifically, we do have 2 sets of 5C data, and the loess plots
reflect the relationship between INTENSITY and DISTANCE (please see the R
code below).

I am looking for a method/formula to scale these 2 LOESS plots and make
them directly comparable.

many thanks,

-- bogdan



-------------- the R code ------------------



a <- read.delim("a",header=T)
qplot(data=a,distance,intensity)+geom_smooth(method = "loess", size = 1,
span=0.01)+xlab("distance")+ylab("intensity")



b <- read.delim("b",header=T)
qplot(data=b,distance,intensity)+geom_smooth(method = "loess", size = 1,
span=0.01)+xlab("distance")+ylab("intensity")

	[[alternative HTML version deleted]]



More information about the R-help mailing list