icc.model.3D.scatter.plot: Creates a 3D scatter plot of ICC vs two other variables, ICC...

Description Usage Arguments Value

Description

Creates a 3D scatter plot of ICC vs two other variables, ICC on y-axis.

Usage

1
2
3
4
5
6
icc.model.3D.scatter.plot(
  icc.model,
  vars.to.plot = NULL,
  x.vals = seq(0, 10, by = 0.1),
  y.vals = seq(0, 10, by = 0.1)
)

Arguments

icc.model

A model for predicting ICC from given variables.

vars.to.plot

Vector of two string names of the variable that will be on the x- and y-axes. Will autodetect if NULL, but that will fail if there are more than three potential variables to plot ICC against. (Default: NULL)

x.vals

x values to generate values for (Default: 1:10 by 0.1)

y.vals

y values to generate values for (Default: 1:10 by 0.1)

Value

A plotly 3D scatter plot of predicted values from a model.


mattmoo/SteppedWedgeAnalysis documentation built on Jan. 14, 2020, 12:25 a.m.