as.formant {rPraat} | R Documentation |
as.formant
Description
Renames the class(formant)["name"]
attribute and sets class(formant)["type"] <- "Formant 2"
(if it is not already set)
Usage
as.formant(formant, name = "")
Arguments
formant |
Formant 2 object |
name |
New name |
Value
Formant 2 object
Examples
class(formant.sample())
class(as.formant(formant.sample(), name = "New Name"))
[Package rPraat version 1.3.2-1 Index]