sampleSplom: Function to produce a scatterplot matrix comparing a sample...

Description Usage Arguments

Description

Function to produce a scatterplot matrix comparing a sample of items to the population from which they were drawn.

Usage

1
2
3
4
sampleSplom(items, dat, label_vec = NULL, selected_col = "black",
  nonselected_col = "gray", mar = c(3, 3, 0.5, 0.5), mgp = c(2, 0.5,
  0), nonselected_alpha = 0.1, xlim = NULL, ylim = NULL,
  text_size = NULL, include_nonsampled = TRUE)

Arguments

items

a character vector of items used to index dat

dat

a matrix or dataframe containing describing each item in the population on the dimensions to be plotted

label_vec

optional character vector of variable labels

selected_col

colour for plotting selected items

nonselected_col

colour for plotting nonselected items

mar

vector containing margin parameters passed to par()

mgp

vector containing axis label locations passed to par()

nonselected_alpha

transparency for scatterplot points for nonselected items

xlim

an xlim vector or list of xlim vectors

ylim

a ylim vector or list of ylim vectors

include_nonsampled

logical denoting whether to plot nonsampled items


damiencrone/gasample documentation built on May 20, 2019, 9:26 a.m.