Skip to contents

Set new data for a Survey object.

Usage

set_data(svy, data, .copy = use_copy_default())

Arguments

svy

A Survey object.

data

The new data.

.copy

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

Value

The updated Survey object.