Skip to content

Commit

Permalink
update to recipes 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindhebbali committed Nov 22, 2018
1 parent 1db346b commit 5e0aa7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions DESCRIPTION
@@ -1,9 +1,8 @@
Package: olsrr
Type: Package
Title: Tools for Building OLS Regression Models
Version: 0.5.1.9000
Authors@R: person("Aravind", "Hebbali", email = "hebbali.aravind@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-9220-9669"))
Version: 0.5.2
Authors@R: person("Aravind", "Hebbali", email = "hebbali.aravind@gmail.com", role = c("aut", "cre"))
Description: Tools designed to make it easier for users, particularly beginner/intermediate R users
to build ordinary least squares regression models. Includes comprehensive regression output,
heteroskedasticity tests, collinearity diagnostics, residual diagnostics, measures of influence,
Expand All @@ -27,7 +26,7 @@ Imports:
nortest,
purrr,
Rcpp,
recipes,
recipes (>= 0.1.4),
rlang,
shiny,
stringr,
Expand Down Expand Up @@ -57,5 +56,5 @@ BugReports: https://github.com/rsquaredacademy/olsrr/issues
Encoding: UTF-8
LazyData: true
VignetteBuilder: knitr
RoxygenNote: 6.0.1
RoxygenNote: 6.1.1
LinkingTo: Rcpp
2 changes: 1 addition & 1 deletion R/ols-regress_compute.R
Expand Up @@ -52,7 +52,7 @@ reg_comp <- function(formula, data, conf.level = 0.95, iterm, title = "model") {
step_scale(all_numeric())

trained_rec <- prep(standardized, training = data)
newdata <- bake(trained_rec, newdata = data_scaled)
newdata <- bake(trained_rec, new_data = data_scaled)
model2 <- lm(formula, data = newdata)
output2 <- summary(model2)
b <- output2$coef[-1, 1]
Expand Down

0 comments on commit 5e0aa7d

Please sign in to comment.