Learn R Programming

robustlmm (version 2.4-3)

psi2propII: Convert to Propsal II weight function

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

# S4 method for psi_func_rcpp
psi2propII(object, ...)

Arguments

object

PsiFunction instance to convert

...

optional, new default arguments passed to chgDefaults.

Examples

Run this code
# NOT RUN {
par(mfrow=c(2,1))
plot(smoothPsi)
plot(psi2propII(smoothPsi))
# }

Run the code above in your browser using DataLab