Printing objects of class "r2_kvr2" (generated by r2()) or "comp_kvr2" (generated by comp_fit()), respectively, by simple print methods.
Arguments
- x
An object of class "
r2_kvr2" or "comp_kvr2".- ...
Further arguments passed to or from other methods.
- digits
The number of decimal places to be used for rounding the results. Default is 4.
- model_info
Logical. If
TRUE(default), additional information about the model (type, intercept, n, k) is printed below the results.
Value
The input object is returned invisibly (via invisible(x)).
This function is called for its side effect of printing the results of r2() or comp_fit() calculations to the console.
Details
These methods format the calculated statistics into a human-readable summary, displaying each index or metric with its corresponding value.