Skip to content

Commit

Permalink
fix the Beck formula issue, #11
Browse files Browse the repository at this point in the history
  • Loading branch information
kongdd committed Mar 1, 2022
1 parent 84f14c2 commit 453c4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/doubleLogistics_R.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ doubleLog.Beck = function(par, t) {
return(pred)
}
attr(doubleLog.Beck, 'par') = c("mn", "mx", "sos", "rsp", "eos", "rau")
attr(doubleLog.Beck, 'formula') = expression(mn + (mx - mn)*(1/(1 + exp(-rsp*(t - sos))) + 1/(1 + exp(rau*(t - eos)))) - 1)
attr(doubleLog.Beck, "formula") = expression(mn + (mx - mn) * (1 / (1 + exp(-rsp * (t - sos))) + 1 / (1 + exp(rau * (t - eos))) - 1))

#' @rdname logistics
#' @export
Expand Down

0 comments on commit 453c4af

Please sign in to comment.