You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The documentation for the fit_seromodel function in the serofoi package currently suggests setting the foi_index argument manually using rep(...). However, the package provides a more automated and reliable method to generate this index using the get_foi_index() function. Using get_foi_index() not only simplifies the process but also reduces the risk of user error when manually creating the index.
The specific issue in the documentation can be found in the following example:
Describe the solution you'd like
I recommend updating the documentation for the fit_seromodel function to replace the manual example of foi_index = rep(...) with the automatic method foi_index = get_foi_index(survey_features, group_size = 15). This change would better align the documentation with best practices and encourage users to utilize the built-in functions of the package.
Additional context
Incorporating get_foi_index() into the examples would also help users better understand how to leverage the full functionality of the package, leading to more efficient and accurate model specifications.
The text was updated successfully, but these errors were encountered:
We are aware of the lack of documentation about the use of get_foi_index and FOI indexation in general. In #200@ben18785 suggested we should write a package article about FOI indexation to the package and I think that's a good way to address this issue in a compelling way.
@ben18785, we should discuss the contents of this article here.
Is your feature request related to a problem? Please describe.
The documentation for the
fit_seromodel
function in the serofoi package currently suggests setting the foi_index argument manually usingrep(...)
. However, the package provides a more automated and reliable method to generate this index using theget_foi_index()
function. Usingget_foi_index()
not only simplifies the process but also reduces the risk of user error when manually creating the index.The specific issue in the documentation can be found in the following example:
This example is provided in the package's documentation here: https://epiverse-trace.github.io/serofoi/articles/foi_models.html
Describe the solution you'd like
I recommend updating the documentation for the
fit_seromodel
function to replace the manual example offoi_index = rep(...)
with the automatic methodfoi_index = get_foi_index(survey_features, group_size = 15)
. This change would better align the documentation with best practices and encourage users to utilize the built-in functions of the package.Additional context
Incorporating get_foi_index() into the examples would also help users better understand how to leverage the full functionality of the package, leading to more efficient and accurate model specifications.
The text was updated successfully, but these errors were encountered: