scat_cont_plot {BioPred}R Documentation

Scatter Plot for a Biomarker Associated with Continuous Outcome

Description

Generates a scatter plot for exploring the relationship between a continuous response variable and a biomarker variable.

Usage

scat_cont_plot(
  yvar,
  xvar,
  data,
  ybreaks = NULL,
  xbreaks = NULL,
  yvar.display = yvar,
  xvar.display = xvar
)

Arguments

yvar

Continuous response variable name.

xvar

biomarker name.

data

The dataset containing the variables.

ybreaks

Breaks on the y-axis.

xbreaks

Breaks on the x-axis.

yvar.display

Display name for the response variable.

xvar.display

Display name for the biomarker variable.

Value

A list containing correlation coefficients, scatter plot, slope, and intercept.


[Package BioPred version 1.0.1 Index]