Skip to contents

Set new weight(s) for a Survey object.

Usage

set_weight(svy, new_weight, .copy = use_copy_default())

Arguments

svy

A Survey object.

new_weight

The new weight(s).

.copy

Whether to return a copy of the Survey object (default: TRUE).

Value

The updated Survey object.