Skip to content

colours not ok #4

@mdsumner

Description

@mdsumner
library(ximage)

## ok
ximage(matrix(c(0, 1)))

## not ok
ximage(matrix(c(1)))

## not ok
ximage(matrix(c(1, NA)))


## not ok
ximage(matrix(c(1, NaN)))

## ok
ximage(matrix(c(1, NaN, 2)))


## ok
ximage(matrix(c(1, NA, 2)))

Created on 2022-09-12 with reprex v2.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions