new_frequency_weights: Construct a frequency weights vector

View source: R/case-weights.R

new_frequency_weightsR Documentation

Construct a frequency weights vector

Description

[Experimental]

new_frequency_weights() is a developer oriented function for constructing a new frequency weights vector. Generally, you should use frequency_weights() instead.

Usage

new_frequency_weights(x = integer(), ..., class = character())

Arguments

x

An integer vector.

...

Name-value pairs defining attributes

class

Name of subclass.

Value

A new frequency weights vector.

Examples

new_frequency_weights()
new_frequency_weights(1:5)

hardhat documentation built on June 22, 2024, 10:06 a.m.