Skip to content

Commit

Permalink
consolidate codegen documentation to fix pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
pinduzera committed Jun 1, 2023
1 parent 02ca449 commit 4b61301
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 26 deletions.
6 changes: 3 additions & 3 deletions R/codegen.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#' SAS standard score code generation \strong{(EXPERIMENTAL)}
#' SAS standard score code generation Generic Function \strong{(EXPERIMENTAL)}
#'
#' @description
#'
Expand Down Expand Up @@ -32,7 +32,7 @@ codegen <- function(model, path, rds, ...) {
UseMethod("codegen")
}

#' Code generator for Linear models
#' @describeIn codegen Code generator for Linear models
#' @export

codegen.lm <- function(model, path = "scoreCode.R", rds = "model.rds") {
Expand Down Expand Up @@ -70,7 +70,7 @@ codegen.lm <- function(model, path = "scoreCode.R", rds = "model.rds") {
invisible(scorecode)
}

#' Code generator for General Linear models, specifically logistic regression
#' @describeIn codegen generator for `glm` General Linear models, specifically logistic regression
#' @export

codegen.glm <- function(model, path = "scoreCode.R", rds = "model.rds", cutoff = 0.5) {
Expand Down
15 changes: 14 additions & 1 deletion man/codegen.Rd

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

11 changes: 0 additions & 11 deletions man/codegen.glm.Rd

This file was deleted.

11 changes: 0 additions & 11 deletions man/codegen.lm.Rd

This file was deleted.

0 comments on commit 4b61301

Please sign in to comment.