Displaying 1 result from an estimated 1 matches for "tokenslist".
Did you mean:
token_list
2008 Oct 24
1
Help regarding oo package
Hi Henrik,
I'm sorry to be bothering you, but there is something that I have been
stuck with for a while now.
I am trying to create a class like :
setConstructorS3("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)...