getRSquared

At least numberOfParameters observations (with at least numberOfParameters different x values)
must have been added before invoking this method. If this method is
invoked before a model can be estimated, Double,NaN is
returned.