impuni: High dimensional missing data imputation and performing the...

Description Usage Arguments Value Examples

View source: R/impuni.R

Description

Given the dimension of variables and survival information the function performs imputations using missForest function and filters significant variables, allowing the user to do univariate survival analysis with higher number of iterations. Further, it performs mediation analysis among the significant variables and provides handful variables with their alpha.a values which are mediator model exposure coefficients and beta.a coefficients.

Usage

1
impuni(m, n, Survdur, event, time, lcr = NULL, t, i, b, d, data)

Arguments

m

Starting column number from where high dimensional variates to be selected.

n

Ending column number till where high dimensional variates to be selected.

Survdur

"Column/Variable name" consisting duration of survival.

event

"Column/Variable name" consisting survival event.

time

"Column/Variable name" consisting time of repeated observations.

lcr

"Leftcensoring information"

t

A numeric threshold value between 0 to 1.

i

Number of MCMC iteration to perform in obtaining posterior estimates of HR by CoxPH.

b

Number of MCMC iterations to burn.

d

Number of draws for the iterations.

data

High dimensional data containing survival observations with multiple covariates.

Value

Data frame containing the beta and alpha values of active variables among the significant variables.

Examples

1
2
3
4
5
6
## Not run: 
##
impuni(m=8,n=25,Survdur="os",event="death",lcr=,t=0.02,i=6,b=10,d=10,data=hnscc)
##

## End(Not run)

autohd documentation built on May 10, 2021, 9:10 a.m.

Related to impuni in autohd...