anonymise: anonymise: anonymise a vocalisation diagram

Description Usage Arguments Details Value Examples

View source: R/markov.R

Description

Anonymise a vocalisation diagram

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
6
7
## 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 July 2, 2020, 2 a.m.