transform-class.RdTransform objects are simply functions that have been extended to allow for specialized dispatch. All of the ``...Transform'' constructors return functions of this type for use in one of the transformation modalities.
.DataObject of class "function"
transformationIdA name for the transformation object
summaryReturn the parameters
linearTransform,
lnTransform,
logicleTransform,
biexponentialTransform,
arcsinhTransform,
quadraticTransform,
logTransform
cosTransform <- function(transformId, a=1, b=1){ t = new("transform", .Data = function(x) cos(a*x+b)) t@transformationId = transformId t } cosT <- cosTransform(transformId="CosT",a=2,b=1) summary(cosT)#> $a #> [1] 2 #> #> $b #> [1] 1 #> #> $t #> transform object 'CosT' #> #> $transformId #> [1] "CosT" #>