Skip to content

Commit

Permalink
update website
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 18, 2021
1 parent 9e8673b commit 7f4a37a
Show file tree
Hide file tree
Showing 83 changed files with 759 additions and 359 deletions.
1 change: 0 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,6 @@ mod <- MASS::rlm(formula = mpg ~ am * cyl, data = mtcars)
ggcoefstats(
x = mod,
point.args = list(color = "red", size = 3, shape = 15),
vline.args = list(size = 1, color = "#CC79A7", linetype = "dotdash"),
title = "Car performance predicted by transmission & cylinder count",
subtitle = "Source: 1974 Motor Trend US magazine",
exclude.intercept = TRUE,
Expand Down
58 changes: 55 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Note here that the function can be used to tag outliers!

| graphical element | `geom_` used | argument for further modification |
|--------------------------|-----------------------------|-----------------------------------|
| raw points | `ggplot2::geom_point` | `point.args` |
| raw data | `ggplot2::geom_point` | `point.args` |
| box plot | `ggplot2::geom_boxplot` ||
| density plot | `ggplot2::geom_violin` | `violin.args` |
| centrality measure point | `ggplot2::geom_point` | `centrality.point.args` |
Expand Down Expand Up @@ -410,7 +410,7 @@ grouped_ggwithinstats(

| graphical element | `geom_` used | argument for further modification |
|-------------------------------|-----------------------------|-----------------------------------|
| raw points | `ggplot2::geom_point` | `point.args` |
| raw data | `ggplot2::geom_point` | `point.args` |
| point path | `ggplot2::geom_path` | `point.path.args` |
| box plot | `ggplot2::geom_boxplot` ||
| density plot | `ggplot2::geom_violin` | `violin.args` |
Expand Down Expand Up @@ -528,6 +528,14 @@ grouped_gghistostats(

<img src="man/figures/README-gghistostats2-1.png" width="100%" />

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|-------------------------|--------------------------|-----------------------------------|
| histogram bin | `ggplot2::stat_bin` | `bin.args` |
| centrality measure line | `ggplot2::geom_vline` | `centrality.line.args` |
| normality curve | `ggplot2::stat_function` | `normal.curve.args` |

### Summary of tests

**Central tendency measure**
Expand Down Expand Up @@ -621,6 +629,13 @@ grouped_ggdotplotstats(

<img src="man/figures/README-ggdotplotstats2-1.png" width="100%" />

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|-------------------------|-----------------------|-----------------------------------|
| raw data | `ggplot2::geom_point` | `point.args` |
| centrality measure line | `ggplot2::geom_vline` | `centrality.line.args` |

### Summary of tests

**Central tendency measure**
Expand Down Expand Up @@ -742,6 +757,15 @@ grouped_ggscatterstats(

<img src="man/figures/README-ggscatterstats3-1.png" width="100%" />

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|------------------------|-----------------------------|-----------------------------------|
| raw data | `ggplot2::geom_point` | `point.args` |
| labels for raw data | `ggrepel::geom_label_repel` | `point.label.args` |
| smooth line | `ggplot2::geom_smooth` | `smooth.line.args` |
| marginal distributions | `ggExtra::ggMarginal` ||

### Summary of tests

**Hypothesis testing** and **Effect size estimation**
Expand Down Expand Up @@ -941,6 +965,12 @@ ggcorrmat(
#> 15 Bayesian Pearson correlation 30
```

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|--------------------|--------------------------|-----------------------------------|
| correlation matrix | `ggcorrplot::ggcorrplot` | `ggcorrplot.args` |

### Summary of tests

**Hypothesis testing** and **Effect size estimation**
Expand Down Expand Up @@ -1014,6 +1044,13 @@ grouped_ggpiestats(

<img src="man/figures/README-ggpiestats2-1.png" width="100%" />

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|--------------------|---------------------------------------------------|-----------------------------------|
| pie slices | `ggplot2::geom_col` ||
| descriptive labels | `ggplot2::geom_label`/`ggrepel::geom_label_repel` | `label.args` |

### Summary of tests

**two-way table**
Expand Down Expand Up @@ -1112,6 +1149,13 @@ grouped_ggbarstats(

<img src="man/figures/README-ggbarstats2-1.png" width="100%" />

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|--------------------|-----------------------|-----------------------------------|
| bars | `ggplot2::geom_bar` ||
| descriptive labels | `ggplot2::geom_label` | `label.args` |

### Summary of tests

**two-way table**
Expand Down Expand Up @@ -1217,7 +1261,6 @@ mod <- MASS::rlm(formula = mpg ~ am * cyl, data = mtcars)
ggcoefstats(
x = mod,
point.args = list(color = "red", size = 3, shape = 15),
vline.args = list(size = 1, color = "#CC79A7", linetype = "dotdash"),
title = "Car performance predicted by transmission & cylinder count",
subtitle = "Source: 1974 Motor Trend US magazine",
exclude.intercept = TRUE,
Expand Down Expand Up @@ -1265,6 +1308,15 @@ packages are also supported by `ggcoefstats`. For example-
Although not shown here, this function can also be used to carry out
parametric, robust, and Bayesian random-effects meta-analysis.

### Summary of graphics

| graphical element | `geom_` used | argument for further modification |
|--------------------------------|-----------------------------|-----------------------------------|
| regression estimate | `ggplot2::geom_point` | `point.args` |
| error bars | `ggplot2::geom_errorbarh` | `errorbar.args` |
| vertical line | `ggplot2::geom_vline` | `vline.args` |
| label with statistical details | `ggrepel::geom_label_repel` | `stats.label.args` |

### Summary of meta-analysis tests

**Hypothesis testing** and **Effect size estimation**
Expand Down
2 changes: 1 addition & 1 deletion docs/404.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/CODE_OF_CONDUCT.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/CONTRIBUTING.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/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/LICENSE.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/SECURITY.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/SUPPORT.html

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

4 changes: 2 additions & 2 deletions docs/articles/additional.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/articles/index.html

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

Loading

3 comments on commit 7f4a37a

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: 1:nrow(...) is likely to be wrong in the empty edge case, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbarstats.R:43:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

ggbarstats <- function(data,
^

R/ggbetweenstats.R:158:1: style: functions should have cyclomatic complexity of less than 15, this has 24.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:131:1: style: functions should have cyclomatic complexity of less than 15, this has 43.

ggcoefstats <- function(x,
^

R/ggcorrmat.R:85:1: style: functions should have cyclomatic complexity of less than 15, this has 18.

ggcorrmat <- function(data,
^

R/ggcorrmat.R:150:3: warning: local variable ‘r.type’ assigned but may not be used

r.type <- ifelse(isTRUE(partial), "correlation (partial):", "correlation:")
  ^~~~~~

R/ggcorrmat.R:179:3: warning: local variable ‘getmode’ assigned but may not be used

getmode <- function(v) {
  ^~~~~~~

R/ggpiestats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 29.

ggpiestats <- function(data,
^

R/ggwithinstats.R:69:1: style: functions should have cyclomatic complexity of less than 15, this has 27.

ggwithinstats <- function(data,
^

R/helpers_gghistostats_graphics.R:40:1: warning: no visible binding for global variable ‘.x’

df_central <- centrality_data(data.frame(.x = ".x", "var" = x), .x, var, ...)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcorrmat.R:147:7: style: Commented code should be removed.

# expect_snapshot(pb$data)
      ^~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: 1:nrow(...) is likely to be wrong in the empty edge case, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbarstats.R:43:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

ggbarstats <- function(data,
^

R/ggbetweenstats.R:158:1: style: functions should have cyclomatic complexity of less than 15, this has 24.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:131:1: style: functions should have cyclomatic complexity of less than 15, this has 43.

ggcoefstats <- function(x,
^

R/ggcorrmat.R:85:1: style: functions should have cyclomatic complexity of less than 15, this has 18.

ggcorrmat <- function(data,
^

R/ggcorrmat.R:150:3: warning: local variable ‘r.type’ assigned but may not be used

r.type <- ifelse(isTRUE(partial), "correlation (partial):", "correlation:")
  ^~~~~~

R/ggcorrmat.R:179:3: warning: local variable ‘getmode’ assigned but may not be used

getmode <- function(v) {
  ^~~~~~~

R/ggpiestats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 29.

ggpiestats <- function(data,
^

R/ggwithinstats.R:69:1: style: functions should have cyclomatic complexity of less than 15, this has 27.

ggwithinstats <- function(data,
^

R/helpers_gghistostats_graphics.R:40:1: warning: no visible binding for global variable ‘.x’

df_central <- centrality_data(data.frame(.x = ".x", "var" = x), .x, var, ...)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcorrmat.R:147:7: style: Commented code should be removed.

# expect_snapshot(pb$data)
      ^~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: 1:nrow(...) is likely to be wrong in the empty edge case, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbarstats.R:43:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

ggbarstats <- function(data,
^

R/ggbetweenstats.R:158:1: style: functions should have cyclomatic complexity of less than 15, this has 24.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:131:1: style: functions should have cyclomatic complexity of less than 15, this has 43.

ggcoefstats <- function(x,
^

R/ggcorrmat.R:85:1: style: functions should have cyclomatic complexity of less than 15, this has 18.

ggcorrmat <- function(data,
^

R/ggpiestats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 29.

ggpiestats <- function(data,
^

R/ggwithinstats.R:69:1: style: functions should have cyclomatic complexity of less than 15, this has 27.

ggwithinstats <- function(data,
^

R/helpers_gghistostats_graphics.R:40:1: warning: no visible binding for global variable ‘.x’

df_central <- centrality_data(data.frame(.x = ".x", "var" = x), .x, var, ...)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcorrmat.R:147:7: style: Commented code should be removed.

# expect_snapshot(pb$data)
      ^~~~~~~~~~~~~~~~~~~~~~~~

Please sign in to comment.