-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from ACCLAB/v0.1.3
v0.1.3
- Loading branch information
Showing
20 changed files
with
325 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
from .api import plot | ||
from .bootstrap_tools import bootstrap | ||
|
||
__version__="0.1.2" | ||
__version__="0.1.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
```{r} | ||
library(dplyr) | ||
library(ggplot2) | ||
df = filter(CO2, conc == '1000') | ||
ggplot(df, aes(x = Type, | ||
y = uptake, | ||
color = Treatment)) + | ||
geom_point() + | ||
ggtitle('CO2 conc = 1000 mL/L') + | ||
xlab('City') + ylab('CO2 uptake') | ||
``` | ||
|
||
|
||
```{r} | ||
library(reticulate) | ||
``` | ||
|
||
|
||
```{python} | ||
import matplotlib.pyplot as plt | ||
import dabest | ||
f1, results = dabest.plot(data=r.df, fig_size=(5,7), | ||
x='Type', y='uptake', | ||
swarm_label='CO2 uptake', | ||
color_col='Treatment', | ||
idx=['Quebec', 'Mississippi'] | ||
) | ||
f1.savefig('dabest-plot-CO2.png', bbox_inches='tight') | ||
``` | ||
|
||
```{r} | ||
py_results = py$results | ||
mean_diff = py_results$stat_summary | ||
ci_low = py_results$bca_ci_low | ||
ci_high = py_results$bca_ci_high | ||
# Print results, with all numerical values formatted to 2 decimal places. | ||
sprintf("Mean Difference = %.2f [95CI %.2f, %.2f]", | ||
mean_diff, ci_low, ci_high) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends "!layout.html" %} | ||
|
||
{%- block extrahead %} | ||
{{ super() }} | ||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120627927-1"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'UA-120627927-1'); | ||
</script> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.