Skip to content
Prev 6811 / 12125 Next

[R-pkg-devel] how to provide an example for my package when I want to generate a figure

Hello all,

I have a fairly simple package I want to make. It takes two dataframes and then creates a jpeg (a heat map) based on the info in the dataframes.

I know how to put the code in the vignette.
But as to how to make an example, I don't know that. Would I put the code in the R code for the heat map?

How can I do this, it seems very foggy to me.

Thanks, Matthew

Sent with [ProtonMail](https://protonmail.com) Secure Email.