Learn R Programming

autoFC (version 0.2.0.1002)

plot_scores: 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", ...)

Value

A scatter plot

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()

Author

Mengtong Li

Details

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

Examples

Run this code
plot_scores(rnorm(100), rnorm(100))

Run the code above in your browser using DataLab