plotSimResults: Plot Simulation Results

View source: R/plotSimulationResults.R

plotSimResultsR Documentation

Plot Simulation Results

Description

Plot Simulation Results

Usage

plotSimResults(
  dataset,
  variable = NULL,
  x_variable = NULL,
  y_variable = NULL,
  grouping_variable,
  legend_name,
  xlab_name = NULL,
  ylab_name = NULL,
  SD = FALSE,
  facet,
  legendposition = "bottom",
  legendcolor = "black",
  x_angle = 360,
  xlength = 6,
  ylength = 4,
  roundn = 2,
  y_breaks = NULL
)

Arguments

dataset

Simulation data on sampling of the multiple patch realizations.

variable

The variable to be plotted. Default value is NULL.

x_variable

The variable to be plotted on the x-axis. Default value is NULL.

y_variable

The variable to be plotted to be plotted on the y-axis. Default value is NULL.

grouping_variable

The variable dividing the data into subgroups.

legend_name

The name given to the grouping_variable in the legend.

xlab_name

The x-axis name. Default value is NULL.

ylab_name

The y-axis name. Default value is NULL.

SD

Defaults to FALSE

facet

NEED DETAILS

legendposition

Defaults to "bottom."

legendcolor

Defaults to "black."

x_angle

Defaults to 360

xlength

Default value is 6.

ylength

Default value is 4.

roundn

Default value is 2.

y_breaks

Default to NULL.

Value

Plot of the true variable parameter values (x-axis) versus variable bias (y-axis). The plot is divided into three facets: Horvitz-Thompson estimators, SRSWOR estimators (excluding information from adaptively sampled plots), and SRSWOR estimators applied to the entire dataset (ignoring the sampling design). Error bars indicate the standard deviation.


ksauby/ACS documentation built on Aug. 18, 2022, 3:33 a.m.