handle_weights: Sanitizes potential sample weights

View source: R/plasso.R

handle_weightsR Documentation

Sanitizes potential sample weights

Description

Sanitizes potential sample weights

Usage

handle_weights(w, n)

Arguments

w

Vector of weights or null if no weights provided

n

number of observations

Value

Vector of weights


MCKnaus/causalDML documentation built on Aug. 19, 2023, 5:47 p.m.