Skip to content

Commit

Permalink
0.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jinseob2kim committed Jan 16, 2019
1 parent 0ed57b4 commit 5d327f1
Show file tree
Hide file tree
Showing 49 changed files with 82 additions and 74 deletions.
12 changes: 4 additions & 8 deletions R/regress.R
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ regressModule <- function(input, output, session, data, data_label, data_varStru

## Warning when multicollinearity
warn <- NULL
zz <- tryCatch(solve(t(as.matrix(mf)) %*% as.matrix(mf)), error = function(e) e)
mm <- model.matrix(form, data.regress)
zz <- tryCatch(solve(t(as.matrix(mm)) %*% as.matrix(mm)), error = function(e) e)
if ("error" %in% class(zz)) {
warn <- "There are strongly correlated independent values. Please see correlation in `Plot- Scatter plot` tab"
}
Expand Down Expand Up @@ -486,7 +487,8 @@ regressModule2 <- function(input, output, session, data, data_label, data_varStr


## Warning when multicollinearity
zz <- tryCatch(solve(t(as.matrix(mf)) %*% as.matrix(mf)), error = function(e) e)
mm <- model.matrix(form, data.regress)
zz <- tryCatch(solve(t(as.matrix(mm)) %*% as.matrix(mm)), error = function(e) e)
if ("error" %in% class(zz)) {
warn <- "There are strongly correlated independent values. Please see correlation in `Plot- Scatter plot` tab"
} else{ warn <- NULL}
Expand Down Expand Up @@ -514,12 +516,6 @@ regressModule2 <- function(input, output, session, data, data_label, data_varStr
need(sum(lgl.1level) == 0, paste(paste(names(lgl.1level)[lgl.1level], collapse =" ,"), "has(have) a unique value. Please remove that from independent variables"))
)

## Warning when multicollinearity
warn <- NULL
zz <- tryCatch(solve(t(as.matrix(mf)) %*% as.matrix(mf)), error = function(e) e)
if ("error" %in% class(zz)) {
warn <- "There are strongly correlated independent values. Please see correlation in `Plot- Scatter plot` tab"
}

res.svyglm <- survey::svyglm(form, design = data.design)
tb.svyglm <- jstable::svyregress.display(res.svyglm, decimal = input$decimal)
Expand Down
2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

2 changes: 1 addition & 1 deletion docs/authors.html

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

2 changes: 1 addition & 1 deletion docs/index.html

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

50 changes: 31 additions & 19 deletions docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/reference/FilePs.html

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

2 changes: 1 addition & 1 deletion docs/reference/FilePsInput.html

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

2 changes: 1 addition & 1 deletion docs/reference/FileRepeated.html

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

2 changes: 1 addition & 1 deletion docs/reference/FileRepeatedInput.html

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

2 changes: 1 addition & 1 deletion docs/reference/FileSurvey.html

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

2 changes: 1 addition & 1 deletion docs/reference/FileSurveyInput.html

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

2 changes: 1 addition & 1 deletion docs/reference/GEEModuleLinear.html

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

2 changes: 1 addition & 1 deletion docs/reference/GEEModuleLogistic.html

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

2 changes: 1 addition & 1 deletion docs/reference/GEEModuleUI.html

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

2 changes: 1 addition & 1 deletion docs/reference/coxModule.html

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

2 changes: 1 addition & 1 deletion docs/reference/coxUI.html

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

2 changes: 1 addition & 1 deletion docs/reference/csvFile.html

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

2 changes: 1 addition & 1 deletion docs/reference/csvFileInput.html

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

2 changes: 1 addition & 1 deletion docs/reference/ggpairsModule.html

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

2 changes: 1 addition & 1 deletion docs/reference/ggpairsModule2.html

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

2 changes: 1 addition & 1 deletion docs/reference/ggpairsModuleUI1.html

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

2 changes: 1 addition & 1 deletion docs/reference/ggpairsModuleUI2.html

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

2 changes: 1 addition & 1 deletion docs/reference/ggplotdownUI.html

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

2 changes: 1 addition & 1 deletion docs/reference/index.html

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

2 changes: 1 addition & 1 deletion docs/reference/jsBasicAddin.html

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

2 changes: 1 addition & 1 deletion docs/reference/jsBasicGadget.html

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

2 changes: 1 addition & 1 deletion docs/reference/jsPropensityAddin.html

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

Loading

0 comments on commit 5d327f1

Please sign in to comment.