Influence of structural parameters on Tc in superconducting RNi2B2C compounds