View source: R/micromapDefSets.r
micromapGSetPanelDef | R Documentation |
The micromapGSetPanelDef function generates a data.frame representing the layout of the columns and row groups in the total graphic. It include the location of each individual graphic, the spacing of the columns and row groups and spacing for the title column headers and trailers and x axis when needed. The resulting structure along with the values from micromapGSetDefaults are copies into the package's memory and used by the "panel functions" to manage the panels during the setup and glyphics creation.
micromapGSetPanelDef(nRows,rSizeMaj,rSizeMin,rSepGap,MaxRows,UGrpPattern)
nRows |
for the number of data rows to include in the map.) |
rSizeMaj |
the maximum size of a row group in inches. A row group represents a number of data rows as one horizontal set of graphs. |
rSizeMin |
the minimum size of a row group in inches. |
rSepGap |
the size of the spacing between row groups in the output graphic. |
MaxRows |
the maximum number of rows. |
UGrpPattern |
a vector of the number of rows per group. This is specified by the user as a substitute for the calculated row group pattern. The number of rows must equal the number of rows in the data that match the mapping data and must have the rows grouped so that the top and bottom groups have the most rows. The pattern can then slowly dimenish to 2 rows as the group approach the middle (median) row group. |
Minor modifications can be made to the presentation structure through the details= call parameter, but this is not recommended. See the micromapGDefault description for more information on these lists.
micromapGSetPanelDef
Jim Pearson, StatNet Consulting, LLC, Gaithersburg, MD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.