as.pitch {rPraat} | R Documentation |
Renames the class(pitch)["name"]
attribute and sets class(pitch)["type"] <- "Pitch 1"
(if it is not already set)
as.pitch(pitch, name = "")
pitch |
Pitch 1 object |
name |
New name |
Pitch 1 object
class(pitch.sample())
class(as.pitch(pitch.sample(), name = "New Name"))