prepare.block.matrix: Preparing SRM block data

Description Usage Arguments Details Value Author(s) References See Also

Description

A function for preparing data in order to be analized as a SRM block design.

Usage

1
   prepare.block.matrix(X,subgroup1,subgroup2,numb.times,numb.groups,names1=NULL,names2=NULL,times=NULL,groups=NULL)

Arguments

X

Original block sociomatrix.

subgroup1

Number of individuals of the first subgroup of the block data.

subgroup2

Number of individuals of the second subgroup of the block data.

numb.times

Number of occasions in which the dyads are analyzed.

numb.groups

Number of groups in the block data.

names1

(optional) Character array with the names of individuals in the first subgroup.

names2

(optional) Character array with the names of individuals in the second subgroup.

times

(optional) Character array with the names of the occasions of data collection.

groups

(optional) Character array with the names of groups in the block data.

Details

prepare.block.matrix organizes data according a SRM block design to be used by the several functions for SRM block designs included in the package nonindependence.

Value

X

Sociomatrix data organized as an SRM block design.

Author(s)

David Leiva <dleivaur@ub.edu>, Antonio Solanas <antonio.solanas@ub.edu> & LluĂ­s Salafranca <lsalafranca@ub.edu>.

References

Kenny, D. A., Kashy, D. A., & Cook, W. L. (2006). Dyadic data analysis. New York: Guilford Press.

See Also

block.SRM.effects,block.SRM.variances,block.SRM.relative.variances,block.SRM.reliability,block.SRM.dyadic.reciprocity,block.SRM.generalized.reciprocity,block.SRM.dyadic.reciprocity.tTest,block.SRM.between.groups.tTest,block.SRM.jackknife


DLEIVA/nonindependence documentation built on May 10, 2019, 1:15 a.m.