Skip to content

Commit

Permalink
update glm_olr
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonStanley committed Sep 17, 2019
1 parent e39f9e4 commit 7a2a880
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Package: educ7610
Type: Package
Title: Regressional Analysis and Linear Models
Version: 0.2.2
Version: 0.2.3
Author: Tyson S. Barrett
Maintainer: The package maintainer <[email protected]>
Maintainer: Tyson S. Barrett <[email protected]>
Description: Useful functions and the data required for USU's Regression (EDUC 7610)
course. We use the "Regression Analysis and Linear Models" book by Darlington and Hayes.
Herein, we have the data used in that book and two additional data sets used,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

S3method(coef,glm_olr)
S3method(confint,glm_olr)
S3method(predict,glm_olr)
S3method(print,glm_olr)
export("%>%")
export(cond_effect)
Expand Down
5 changes: 5 additions & 0 deletions R/glm_olr.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ coef.glm_olr <- function(object, ...){
confint.glm_olr <- function(object, parm, level = 0.95, ...){
confint(object$polr)
}

#' @export
predict.glm_olr <- function(object, ...){
predict(object$polr, ...)
}

0 comments on commit 7a2a880

Please sign in to comment.