Internal function to construct a list of plotting parameters.
1 2 3 4 | constructGroupList(items, population, include_nonsampled = TRUE,
var_name = NULL, col = NULL, selected_point_cex = 1/2,
nonselected_col = "gray", nonselected_point_cex = 1/4,
nonselected_alpha = 1/3)
|
items |
a character vector or list of character vectors representing groups of items used to index population |
population |
a matrix or dataframe containing describing each item in the population on the dimensions to be plotted |
include_nonsampled |
logical deonting whether to construct a group for all items that haven't been selected |
var_name |
string or vector of length 2 (c(y,x)) with names of variables of interest |
col |
string or vector of colours for selected group(s) of items |
selected_point_cex |
cex for scatterplot points for selected items |
nonselected_col |
colour for scatterplot points for nonselected items |
nonselected_point_cex |
cex for scatterplot points for nonselected items |
nonselected_alpha |
transparency for scatterplot points for nonselected items |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.