Use this function to convert a character string back to a frequency. You need the class id information.
as.frequency(str, classId)A frequency, which is an object of class 'ldtf'. See the f.? functions.
The value of the frequency as a valid character, which you might have obtained from the as.character.ldtf function.
The class id of the frequency. These are explained in f.? functions.