recalc_final_weights: Recalculate final weights

View source: R/recalc_final_weights.R

recalc_final_weightsR Documentation

Recalculate final weights

Description

Recalculate final weights given the replicate weights

Usage

recalc_final_weights(data, w_cols, replicate_weight = 1, reorder = TRUE)

Arguments

data

dataset

w_cols

columns containing the weights

replicate_weight

scalar with the replicate weights

reorder

if 'TRUE', reorders the dataset so that the replicate weights appear before the final weights

Value

input data with recalculated final weights, incorporating the replicate weights


lsasim documentation built on Aug. 22, 2023, 5:09 p.m.