Skip to content

Allow new hyperSpec object without wavelengths #99

@GegznaV

Description

@GegznaV

This is cbeleites/hyperSpec#296


Suggested:

new("hyperSpec", data = data.frame(c = 1:5))

this works:

new("hyperSpec",
     wavelength = numeric(0),
     spc = matrix(NA_real_, ncol = 0, nrow = 5), 
     data = data.frame(c = 1:5)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions