Learn R Programming

rPraat (version 1.3.2-1)

as.it: as.it

Description

Renames the class(it)["name"] attribute and sets class(it)["type"] <- "IntensityTier" (if it is not already set)

Usage

as.it(it, name = "")

Arguments

it

IntensityTier object

name

New name

Value

IntensityTier object

Examples

Run this code
# NOT RUN {
class(it.sample())
class(as.it(it.sample(), name = "New Name"))
# }

Run the code above in your browser using DataLab