R/varEstFam.R

Defines functions varEstFam

Documented in varEstFam

# function to estimate the variance of the nuisance parameter fir data with
# family struture
varEstFam <- function(x, fam_group, fam_role, 
                      alpha, gtime, delta, lower, upper, beta=0)
{
	m <- length(unique(fam_group))
  .Call(
    "_groupedSurv_varEst", 
    PACKAGE = "groupedSurv", 
    fam_group, 
    alpha, 
    gtime, 
    delta, 
    x, 
    beta, 
    lower, 
    upper, 
    fam_role, 
    m
  )
}

Try the groupedSurv package in your browser

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

groupedSurv documentation built on Sept. 29, 2023, 1:06 a.m.