Skip to content

Commit

Permalink
avoid partial matching
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Sep 13, 2015
1 parent 77284c5 commit f85d508
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/pmc.R
Expand Up @@ -130,8 +130,8 @@ pmc_fit <- function(tree, data, model, ...){
plot.pmc <- function(x, ...){
df <- data.frame(null = x$null, test = x$test)
dat <- tidyr::gather_(df, "variable", "value", gather_cols = c("null", "test"))
ggplot(dat) + geom_density(aes_string("value", fill="variable"), alpha=.7) +
geom_vline(x=x$lr, lwd=1, lty=2)
ggplot(dat) + geom_density(aes_string("value", fill = "variable"), alpha = .7) +
geom_vline(xintercept = x$lr, lwd = 1, lty = 2)
}


Expand Down
17 changes: 17 additions & 0 deletions pmc.Rproj
@@ -0,0 +1,17 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source

0 comments on commit f85d508

Please sign in to comment.