ko.weights: ko.weights

View source: R/ko.weights.R

ko.weightsR 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)


AutoWMM documentation built on June 8, 2025, 11:10 a.m.