Skip to content

Commit

Permalink
Reorder reference for pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kinleyid committed Nov 20, 2024
1 parent 851b290 commit 80530c2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion R/methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ nonsys <- function(obj) {

}

#' Get discount function
#' Get discount function from model
#'
#' Access the name of the discount function of a model.
#' @param mod A temporal discounting model.
Expand Down
2 changes: 1 addition & 1 deletion R/td_fn.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#' Temporal discount function
#' Predefined or custom discount function
#'
#' Get a predefined discount function or create a custom discount function.
#' @param predefined A string specifying one of the pre-defined discount functions.
Expand Down
16 changes: 8 additions & 8 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ template:
reference:
- title: Temporal discounting models
contents:
- td_ipm
- td_bclm
- td_bcnm
- td_ddm
- td_ipm

- title: Discount functions
contents:
- discount_function
- td_fn
- discount_function

- title: Scoring response data
contents:
- adj_amt_indiffs
- indiffs
- kirby_score
- wileyto_score
- indiffs

- title: Consistency of response data
contents:
- nonsys
- attention_checks
- invariance_checks
- kirby_consistency
- invariance_checks
- most_consistent_indiffs
- nonsys

- title: Summarize models
contents:
Expand All @@ -37,17 +37,17 @@ reference:

- title: Methods
contents:
- plot.td_um
- starts_with("coef")
- starts_with("deviance")
- starts_with("fitted")
- starts_with("logLik")
- plot.td_um
- starts_with("predict")
- starts_with("residuals")

- title: Datasets
contents:
- adj_amt_sim
- td_bc_single_ptpt
- td_bc_study
- adj_amt_sim
- td_ip_simulated_ptpt
- td_bc_study
2 changes: 1 addition & 1 deletion man/discount_function.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/td_fn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80530c2

Please sign in to comment.