The

`data`

argument is removed from all three main functions`surr_rsq()`

,`surr_rsq_ci()`

, and`surr_rsq_rank()`

. The dataset will be directly pulled our from the`full_model`

object.The bug related to the bootstrapped data and the model updating steps in

`surr_rsq_ci()`

have been fixed (#2, #3).`rsq()`

function is removed since it is no needed.

- The package supports the ordinal logistic regression models.

It has “print()” for surr_rsq, but the print() or summary() functions are needed for surr_rsq_ci and surr_rsq_rank.

…

This package has four main functions: rsq, surr_rsq, surr_rsq_ci, and surr_rsq_rank.

surr_rsq() is a function for producing a point estimate of the surrogate R-squared for a user-specified model.

surr_rsq_ci() is a function for generating an interval measure of the surrogate R-squared with the designated confidence level.

surr_rsq_rank() is a function to produce a ranking of explanatory variables based on their contributions to the overall surrogate R-squared.

rsq() is a function to produce other pseudo R-squared measures in the literature.