aplsm: The Attribute Person Latent Space model

Description Usage Arguments Value Examples

View source: R/aplsm.R

Description

Jointly model social network with multivariate attributes

Usage

1
aplsm(Niter, Y.i, Y.ia, D, type)

Arguments

Niter

number of iterations

Y.i

N by N matrix containing the binary social network

Y.ia

N by M matrix containing the binary multivariate attributes

D

number of dimensions in the data

type

character indicating the types of model. It could be "DD", distance by distance model, "DV", distance by vector model, "VV", vector by vector model

Value

list containing:

Examples

1
2
attach(french)
a=aplsm(Niter=5,Y.i, Y.ia, D=2, type="DD")

selenashuowang/jlsm documentation built on Feb. 20, 2021, 6:39 a.m.