R/LLW.R

Defines functions LLW

Documented in LLW

LLW <-
  function(x, kernel = "gaussian", bw, t1){
    nobs <- length(x)
    return(.C("LLWeightsKernel",as.double(x), as.integer(nobs),
              as.double(t1), as.double(bw), as.character(kernel),
              w = double(nobs) )$w)}

Try the survidm package in your browser

Any scripts or data that you put into this service are public.

survidm documentation built on June 25, 2021, 1:07 a.m.