{
data(list = c("Phae.long1", "Phae.long2", "Phae.long3", "Phae.long4", "lbh_selec_table"))
writeWave(Phae.long1, file.path(tempdir(), "Phae.long1.wav"))
writeWave(Phae.long2, file.path(tempdir(), "Phae.long2.wav"))
writeWave(Phae.long3, file.path(tempdir(), "Phae.long3.wav"))
writeWave(Phae.long4, file.path(tempdir(), "Phae.long4.wav"))
# create extended selection table
ext_st <- selection_table(lbh_selec_table, extended = TRUE,
path = tempdir())
# remove attributes
st <- as.data.frame(ext_st)
# check class
class(st)
# fix selection table
st <- fix_extended_selection_table(X = st, Y = ext_st)
# check class
class(st)
}
Run the code above in your browser using DataLab