Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in examples of melt_spectra() #5

Open
konradmayer opened this issue Oct 10, 2018 · 0 comments
Open

typo in examples of melt_spectra() #5

konradmayer opened this issue Oct 10, 2018 · 0 comments

Comments

@konradmayer
Copy link

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant