impute.data.Rphylopars: Initial imputation of missing data for lasso
Description
impute.data.Rphylopars
uses function phylopars
from package Rphylopars
to impute missing data.
Usage
impute.data.Rphylopars(phylo, Y_data, process, random.init)
Arguments
phylo
a phylogenetic tree, class phylo
. process
the stochastic process
random.init
wether root is random or fixed.
Value
Y_data_imp the imputed data using Rphylopars
Details
This function assume that there are no shifts on the tree. It is only a first approximation
for initialization purposes.