Printing objects of class "r2_kvr2" (generated by r2()) or "comp_kvr2" (generated by comp_fit()), respectively, by simple print methods.
# S3 method for r2_kvr2
print(x, ..., digits = 4, model_info = TRUE)# S3 method for comp_kvr2
print(x, ..., digits = 4, model_info = TRUE)
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.
An object of class "r2_kvr2" or "comp_kvr2".
Further arguments passed to or from other methods.
The number of decimal places to be used for rounding the results. Default is 4.
Logical. If TRUE (default), additional information about the model (type, intercept, n, k) is printed below the results.
These methods format the calculated statistics into a human-readable summary, displaying each index or metric with its corresponding value.
r2() comp_fit() r2_adjusted()