-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Point-range plots with
type="pr"
(#35)
* pointrange * news * Skip density plot tests in R dev (#36) - To help with failing CI tests on development run. - See https://bugs.r-project.org/show_bug.cgi?id=18337 * PR review * readme update
- Loading branch information
1 parent
17c6029
commit 8ed8375
Showing
10 changed files
with
197 additions
and
12 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,19 @@ | ||
source("helpers.R") | ||
using("tinysnapshot") | ||
|
||
mod = lm(mpg ~ hp + factor(cyl), mtcars) | ||
coefs = data.frame(names(coef(mod)), coef(mod), confint(mod)) | ||
coefs = setNames(coefs, c("x", "y", "ymin", "ymax")) | ||
|
||
fun = function() { | ||
with( | ||
coefs, | ||
plot2( | ||
pch = 17, | ||
x = 1:4, | ||
y = y, | ||
ymin = ymin, | ||
ymax = ymax, | ||
type = "pointrange")) | ||
} | ||
expect_snapshot_plot(fun, label = "pointrange_triangle") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.