Displaying 1 result from an estimated 1 matches for "contextti".
2008 Oct 24
1
Help regarding oo package
...;MyPTCM",function(tokenslist=0)
{
extend(Object(), "MyPTCM",
.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...