make_weights: Helper function to make weights for inspre.

View source: R/inspre.R

make_weightsR Documentation

Helper function to make weights for inspre.

Description

Helper function to make weights for inspre.

Usage

make_weights(SE, max_med_ratio = NULL)

Arguments

SE

DxD matrix of standard errors.

max_med_ratio

Float > 1. Ratio of maximum weight to minimum non-zero weight. Improves conditioning when some SEs are very small.


brielin/inspre documentation built on Dec. 3, 2023, 4:55 a.m.