[Rsiena-help] Another error message
Maarten Selfhout
maarten.vanzalk at oru.se
Fri May 28 10:19:23 CEST 2010
Dear Ruth,'
when applying the command as given in the Rsiena guide to create a
mopdel object, I get the following error
> library(RSiena)
> library(snow)
> library(rlecuyer)
> setwd('/Users/maartenselfhout/Desktop/sex and friends/school1')
> net.w1 <- as.matrix(read.table("W1SIENA.dat"))
> net.w2 <- as.matrix(read.table("W2SIENA.dat"))
> net.w3 <- as.matrix(read.table("W3SIENA.dat"))
> sex <- as.matrix(read.table("sex.dat"))
> mat <- as.matrix(read.table("mat.dat"))
> net.w1[net.w1 %in% c(6,9)] <- NA
> net.w2[net.w2 %in% c(6,9)] <- NA
> net.w3[net.w3 %in% c(6,9)] <- NA
> sex[sex %in% c(99)] <- NA
> mat[mat %in% c(99)] <- NA
> mymodel <- sienaModelCreate(useStdInits = TRUE, projname = 's50_2')
Error: could not find function "sienaModelCreate"
>
Has something changed in later versions or am I missing something?
Kind regards
Maarten
More information about the Rsiena-help
mailing list