On the magnetic behaviour of RCo2 compounds where R is yttrium or a rare-earth