as.frequency {tdata}R 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.


[Package tdata version 0.3.0 Index]