meanplot: meanplot

Description Usage Arguments Examples

Description

plots the average of points based on distance from one another given by sens

Usage

1
meanplot(dataset, columns, sens)

Arguments

dataset

= a dataset columns = the two columns to be plotted sens = integer

Examples

1
2
3
4
5
6
7
8
Everything below should run together.
x <- -10:10
y <- jitter(-(-10:10)*10 + (-10:10)^2 + (-10:10)^3, 500)
xy <- data.frame("x" = x, "y" = y)
meanplot(xy, c(1,2), sens = 1)
for(i in 1:3) {
meanplot(xy, c(1,2), sens = i)
}

fdrennan/fdRenn documentation built on May 16, 2019, 12:12 p.m.