powered by
Default weight function. One minus the return value is multiplied with missing(=imputed) values. It starts with 1 and goes to 0 at n_end.
default_wf(n, n_end = 10)
current step
steps until convergence of weight function to 0
value between 0 and 1
# NOT RUN { x <- 0:20 plot(x,1-default_wf(x)) # }
Run the code above in your browser using DataLab