plot_scores: Scatter Plot for True vs Estimated Scores, True Score vs...

View source: R/plot_scores.R

plot_scoresR Documentation

Scatter Plot for True vs Estimated Scores, True Score vs Absolute Error, etc.

Description

This function is a simple plot for diagnostic purposes examining the performance of the FC scale based on simulated data.

Usage

plot_scores(x_scores, y_scores, type = "simple", ...)

Arguments

x_scores

Scores to be plotted on the x axis

y_scores

Scores to be plotted on the y axis

type

Which type of plots is plotted? Can be "simple" for simple x-y plot, or "abs.diff" for plotting absolute difference of (y-x) vs x.

...

Other parameters used in plot()

Details

This is only a very crude plot function extending plot() for demonstrative purposes. Users are free to develop their own versions of plotting.

Value

A scatter plot

Author(s)

Mengtong Li

Examples

plot_scores(rnorm(100), rnorm(100))


tspsyched/autoFC documentation built on Oct. 8, 2024, 10:39 p.m.