Learn R Programming

hardhat (version 1.1.0)

new_frequency_weights: 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

Run this code
# NOT RUN {
new_frequency_weights()
new_frequency_weights(1:5)
# }

Run the code above in your browser using DataLab