Set Smoothness Tuning Parameter
setSmoothnessParameter.Rd
Assigns a smoothing tuning parameter to an object of class rdClass
, fdClass
, imgClass
, or hdClass
.
Details
This function updates the "Smoothing_parameter"
attribute of the given object.
Since R uses copy-on-modify semantics for S3 objects, users must reassign the object after calling this function:
obj <- setSmoothnessParameter(obj, c(0.01, 0.1, 1))
Without reassignment, the original object remains unchanged.