Skip to content

tinyplot not working with layout? #329

@devSJR

Description

@devSJR

I was trying to use tinyplot with layout. However, there appears to be an issue.

works: all plots basically are drawn, but not in the matrix layout

layout(matrix(c(1, 1, 1, 1, 2, 2, 3, 3), nrow = 2, ncol = 4, byrow = TRUE ))

tinyplot(Petal.Width ~ Sepal.Width | Species, data = iris)
tinyplot(Sepal.Width ~ Petal.Length | Species, data = iris)
tinyplot(Petal.Width ~ Petal.Length | Species, data = iris)

doesn't work: all plots basically are drawn in the matrix layout, when the by argument is not used (both with by and formula syntax)

layout(matrix(c(1, 1, 1, 1, 2, 2, 3, 3),
  nrow = 2, ncol = 4, byrow = TRUE
))

tinyplot(Petal.Width ~ Sepal.Width, data = iris)
tinyplot(Sepal.Width ~ Petal.Length, data = iris)
tinyplot(Petal.Width ~ Petal.Length, data = iris)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions