anonymise: anonymise: anonymise a vocalisation diagram

View source: R/markov.R

anonymiseR Documentation

anonymise: anonymise a vocalisation diagram

Description

Anonymise a vocalisation diagram

Usage

anonymise(vd)

## S3 method for class 'vocaldia'
anonymise(vd)

## Default S3 method:
anonymise(vd)

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.

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.

Examples

## Not run: 
data(vocdia)
x2 <- getSampledVocalMatrix(subset(atddia, id=='Abbott_Maddock_01'),
                            individual=TRUE, nodecolumn='speaker')
anonymise(x2)

## End(Not run)

vocaldia documentation built on Aug. 15, 2022, 1:05 a.m.