as.frequency: Convert Character String to Frequency

View source: R/generics_f.R

as.frequencyR Documentation

Convert Character String to Frequency

Description

Use this function to convert a character string back to a frequency. You need the class id information.

Usage

as.frequency(str, classId)

Arguments

str

The value of the frequency as a valid character, which you might have obtained from the as.character.ldtf function.

classId

The class id of the frequency. These are explained in f.? functions.

Value

A frequency, which is an object of class 'ldtf'. See the f.? functions.


tdata documentation built on Nov. 7, 2023, 5:07 p.m.