Learn R Programming

jlsm (version 0.1.0)

Predictaplsm: Predict from the APLSM

Description

This function allows you to obtain the posterior edge values based on the APLSM

Usage

Predictaplsm(model, type)

Arguments

model

object of class the APLSM

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:

  • est.P.i (N x N) matrix containing the predicted probabilities of an edge

  • est.P.ia (N x M) matrix containing the predicted probabilities of an edge

Examples

Run this code
# NOT RUN {
attach(french)
b=aplsm(Niter=3,Y.i, Y.ia,D=2, type="DD")
Predictaplsm(b,"DD")
# }

Run the code above in your browser using DataLab