Skip to content

Commit

Permalink
Docs: update package docs with Ising model information
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiconstantin committed Jan 5, 2023
1 parent 2eab0e8 commit b81b5a4
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion man-roxygen/generate_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' [powerly::powerly()].
#'
#' @param type Character string representing the type of true model. Possible
#' values are `"ggm"` (the default).
#' values are `"ggm"` (the default) or `"ising"`.
#'
#' @param ... Required arguments used for the generation of the true model. See
#' the **True Models** section of [powerly::powerly()] for the arguments
Expand Down
11 changes: 10 additions & 1 deletion man-roxygen/powerly.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' candidate range.
#'
#' @param model A character string representing the type of true model to find a
#' sample size for. Possible values are `"ggm"` (the default).
#' sample size for. Possible values are `"ggm"` (the default) or `"ising"`.
#'
#' @param ... Required arguments used for the generation of the true model. See
#' the **True Models** section for the arguments required for each true model.
Expand Down Expand Up @@ -142,6 +142,15 @@
#' - Yin, J., and Li, H. (2011). A sparse conditional gaussian graphical model for analysis of genetical genomics data. *The annals of applied statistics*, 5(4), 2630.
#' - supported performance measures: `sen`, `spe`, `mcc`, `rho`
#'
#' **Ising Model**
#' - type: cross-sectional
#' - symbol: `ising`
#' - `...` arguments for generating true models:
#' - `nodes`: A single positive integer representing the number of nodes in the network (e.g., `10`).
#' - `density`: A single numerical value indicating the density of the network (e.g., `0.4`).
#' - `positive`: A single numerical value representing the proportion of positive edges in the network (e.g., `0.9` for 90% positive edges).
#' - supported performance measures: `sen`, `spe`, `mcc`, `rho`
#'
#' @section Performance Measures:
#'
#' | **Performance Measure** | **Symbol** | **Lower** | **Upper** |
Expand Down
2 changes: 1 addition & 1 deletion man/generate_model.Rd

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

15 changes: 14 additions & 1 deletion man/powerly.Rd

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

0 comments on commit b81b5a4

Please sign in to comment.