ko.weights {AutoWMM}R Documentation

ko.weights

Description

Estimation helper function: Calculating variance minimizing weights. Only assigns weights to informative paths

Usage

ko.weights(tree)

Arguments

tree

A makeTree object

Value

Returns vector of variance-minimizing weights on informative paths

Examples


 data(treeData1)
 tree <- makeTree(treeData1)
 Zhats <- wmmTree(tree, sample_length = 3)
 ko.weights(tree)


[Package AutoWMM version 1.0.2 Index]