search for: gray_axis_parameter

Displaying 1 result from an estimated 1 matches for "gray_axis_parameter".

2012 Aug 08
1
Confidence bands around LOESS
...y.loess <- loess(y ~ x, span=0.8, data.frame(x=X_Axis_Parameter, y=Y_Axis_Parameter)) # Compute loess smoothed values for all points along the curve y.predict <- predict(y.loess, data.frame(x=X_Axis_Parameter)) # Plots the curve. lines(X_Axis_Parameter,y.predict) * * #Add Legend to graY_Axis_Parameter. You can change the size of the box by changing cex = 0.75 Large # makes it larger. legend("topleft", c("Smoothing Curve", "Detected", "NonDetect"), col = c(1, "black","red"), cex = 0.75, text.col = "black", lty = c(1...