Span Property

The Span property returns or sets the span parameter used by a LOESS (LOWESS) fit. Use AddFit to add a fit. Returns a Double.

Syntax

object.Span

object.Span = Span

 

Parameter Type Description
Span Double required, value between 0.1 and 1.0 inclusive

 

Example 1

This example shows how to set the span to use 50% of the data for the LOESS fit.

FitLOESS.Span = 0.5

Example 2

This example shows how to return the span for the LOESS fit equation that is used.

Debug.Print FitLOESS.Span

 

Used by: AutoFitPlot object