Learn R Programming

tdata (version 0.3.0)

as.frequency: 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)

Value

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

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.