impute.data.Rphylopars {PhylogeneticEM}R Documentation

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.

Y_data

data at the tips.

process

the stochastic process

random.init

whether root is random or fixed.

Details

This function assume that there are no shifts on the tree. It is only a first approximation for initialization purposes.

Value

Y_data_imp the imputed data using Rphylopars


[Package PhylogeneticEM version 1.1.0 Index]