Skip to content

typo in examples of melt_spectra() #5

@konradmayer

Description

@konradmayer

The example melt_spectra() appears to have a typo.

#' p <- ggplot(r) + geom_line(aes(x=wl, y=nir, group=id, colour=fact)) + theme_bw()

The grouping variable must rather be sr_no instead of id:

p <- ggplot(r) + geom_line(aes(x=wl, y=nir, group=sr_no, colour=fact)) + theme_bw()

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