Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 1, 2024
1 parent 5e6d41a commit 30efc3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/link_function.R
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ link_function.cglm <- function(x, ...) {
method <- parse(text = safe_deparse(x$call))[[1]]$method

if (!is.null(method) && method == "clm") {
link <- "identiy"
link <- "identity"
}
stats::make.link(link = link)$linkfun
}
Expand Down
2 changes: 1 addition & 1 deletion R/link_inverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ link_inverse.cglm <- function(x, ...) {
method <- parse(text = safe_deparse(x$call))[[1]]$method

if (!is.null(method) && method == "clm") {
link <- "identiy"
link <- "identity"
}
stats::make.link(link = link)$linkinv
}
Expand Down

0 comments on commit 30efc3c

Please sign in to comment.