Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

randomise.segs

Randomise or Reverse items in a segment list


Description

Randomises or Reverses items in a segment list

Usage

randomise.segs(segs, rand = TRUE, bwd = FALSE)

Arguments

segs

An Emu segment list.

rand

If T, randomise the order of the segment lists (default).

bwd

If T, reverse the order of the segment list.

Value

A segment list containing the original elements in random or reversed order. This is useful if the segment list is to be used as the source for a set of stimuli in a perception experiment.

See Also

Examples

data(vowlax)
## assumes a database called demo is available on your system and that
## the Emu system is installed. 

# all Phonetic vowels in the database
segs <- vowlax

# randomise the segment list
rsegs <- randomise.segs( segs )

emuR

Main Package of the EMU Speech Database Management System

v2.2.0
GPL (>= 2)
Authors
Raphael Winkelmann [aut, cre], Klaus Jaensch [aut, ctb], Steve Cassidy [aut, ctb], Jonathan Harrington [aut, ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.