Skip to content

Commit

Permalink
Fix density plot
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Dec 18, 2024
1 parent 1cbb78c commit 69a66f4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ plot.LogRatio <- function(x, ...,
border <- list(...)$border %||% graphics::par("col")
} else {
grp <- group_split(x)
border <- color(group_names(x))
border <- color(group_levels(x))
}
k <- length(grp)

Expand Down
3 changes: 0 additions & 3 deletions inst/examples/ex-density.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ coda <- as_composition(kommos, groups = 1)
clr <- transform_clr(coda)

## Density plot
plot(clr, by = NULL, flip = TRUE)

## Use ceramic types for grouping
plot(clr, flip = TRUE)
3 changes: 0 additions & 3 deletions man/plot.Rd

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

0 comments on commit 69a66f4

Please sign in to comment.