R/Plot.Scatterplot.Matrix.R

Defines functions Plot.Scatterplot.Matrix

Documented in Plot.Scatterplot.Matrix

Plot.Scatterplot.Matrix <- function(Dataset, Variables, Add.Jitter=0.1, Seed=123, ...){
Data.Plot <- Dataset[Variables]
for (i in 1: dim(Data.Plot)[2]){
  set.seed(Seed+i)
  Data.Plot[,i] <- as.numeric(Data.Plot[,i]) + runif(n=dim(Data.Plot)[1], min = -Add.Jitter, max = Add.Jitter)
}
pairs(x = Data.Plot, upper.panel = NULL) 
}

Try the NormData package in your browser

Any scripts or data that you put into this service are public.

NormData documentation built on May 29, 2024, 6:23 a.m.