Convert to Propsal II weight function

Share:

Description

Converts the PsiFunction instance into one that corresponds to Proposal II, i.e., a function of the squared weights. The other elements of the PsiFunction instance are adapted accordingly.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'Rcpp_SmoothPsi'
psi2propII(object, ...)
## S4 method for signature 'Rcpp_HuberPsi'
psi2propII(object, ...)
## S4 method for signature 'Rcpp_PsiFunction'
psi2propII(object, ...)
## S4 method for signature ''Rcpp_PsiFunction to Prop II PsiFunction wrapper''
psi2propII(object, ...)

Arguments

object

PsiFunction instance to convert

...

optional, new default arguments passed to chgDefaults.

Examples

1
2
3
par(mfrow=c(2,1))
plot(smoothPsi)
plot(psi2propII(smoothPsi))