Removed redundant statement connect(n, n) in Rlinear
Added sufficient default parameter values to prevent records with missing values