Displaying 1 result from an estimated 1 matches for "zerovec".
2008 Oct 24
1
Help regarding oo package
....gamma = 0.0,
.rho = 0.0,
.phi = 0.0,
.tokenslist = tokenslist,
.uniquetokens = unique(tokenslist),
.numtypes = length(uniquetokens),
.Nsq = numtypes*numtypes,
.CONTEXTti = array(0,dim=numtypes),
.CONTEXTtim = array(0,dim=numtypes),
.ZEROVEC = .CONTEXTti,
.MTF = array(0.0,dim=c(numtypes,numtypes)),
.hIN = array(0.0,dim=c(numtypes,numtypes)),
.tokencount <- 0);
}
)
Everytime I try to create an object of type MyPTCM, it gives me an error saying
> b <- MyPTCM(tokens)
Error in extend.Object(Object(), "My...