Learn R Programming

vocaldia (version 0.8.4)

anonymise: anonymise: anonymise a vocalisation diagram

Description

Anonymise a vocalisation diagram

Usage

anonymise(vd)

# S3 method for vocaldia anonymise(vd)

# S3 method for default anonymise(vd)

Value

a new vocaldia with speaker names replaced by variables

\(s_1,...,s_n\) s.t. \(s_1\) is the speaker who spoke the least and \(s_n\) the one who did the most talking.

Arguments

vd

a vocalisation diagram (vocaldia object)

Details

"anonymise" a vocaldia turn taking probability matrix by replacing speaker names by variables \(s_1,...,s_n s.t. s_1\) is the speaker who spoke the least and \(s_n\) the one who did the most talking.

Examples

Run this code
if (FALSE) {
data(vocdia)
x2 <- getSampledVocalMatrix(subset(atddia, id=='Abbott_Maddock_01'),
                            individual=TRUE, nodecolumn='speaker')
anonymise(x2)
}

Run the code above in your browser using DataLab