A minimal reproducible dataset contains (a) the minimum number of
lines, variables, and categories, in the correct format, to reproduce a
certain problem; and (b) it must be fully reproducible, meaning that
someone else can reproduce the same problem using only the information
provided.
You can create a dataset from scratch using
as.data.frame, you can use available datasets like
iris or you can use a subset of your own dataset
You can share your own data by first subsetting it into its minimal
components and then using dput() to create it via
reproducible code