[Rsiena-help] inclusion of 4-cycles effects from CLI

Ruth M. Ripley ruth at stats.ox.ac.uk
Wed Mar 17 23:23:14 CET 2010


Dear Marco,

Sorry, I slipped up there. I will change the short name to cycle4, so it
can be selected correctly by this function. Unfortunately I can't make
this backwards compatible...so for now, try typing:

myeff[myeff$shortName=="4-cycles" & myeff$type=="eval", ]

If there is only one line printed, then use

myeff[myeff$shortName=="4-cycles" & myeff$type=="eval", "include"] <- TRUE

If you get more than one line printed you need to add a condition on
myeff$name also:

myeff[myeff$shortName=="4-cycles" & myeff$type=="eval" &
myeff$name=='network name, "include"] <- TRUE

replacing network name by the name of your network.

But once I have altered it this will no longer work...

Regards,

Ruth
--
Ruth M. Ripley,                         Email:ruth at stats.ox.ac.uk
Dept. of Statistics,                    http://www.stats.ox.ac.uk/~ruth/
University of Oxford,                   Tel:   01865 282851
1 South Parks Road, Oxford OX1 3TG, UK  Fax:   01865 272595


On Wed, 17 Mar 2010, marco tonellato wrote:

> Dear All,
>
> while modelling my bipartite network I realized that the only effect I
> couldn't specify through the Command Line Interface was the "4-cycles".
> This is what I get:
>
> > setEffect(myeff,4-cycles,include=T)
>
> Error in setEffect(myeff, 4 - cycles, include = T) : Effect not found
>
> What's the correct way to specify it?
> Thanks. Best regards,
>
> Marco
>



More information about the Rsiena-help mailing list