Learn R Programming

visualpred (version 0.1.0)

mcacontourjit: Contour plots and MCA function for classification modeling

Description

This function is similar to mcacontour but points are jittered in every plot

Usage

mcacontourjit(dataf=dataf,jit=0.1,alpha1=0.8,alpha2=0.8,alpha3=0.7,title="",...)

Arguments

dataf

data frame.

jit

jit distance. Default 0.1.

alpha1

alpha transparency for majoritary class

alpha2

alpha transparency for minoritary class

alpha3

alpha transparency for fit probability plots

title

plot main title

...

options to be passed from mcacontour

Value

A list with the following objects:

graph1

plot of points on MCA two dimensions

graph2

plot of points and variables

graph3

plot of points and contour curves

graph4

plot of points, contour curves and variables

graph5

plot of points colored by fitted probability

graph6

plot of points colored by abs difference

Examples

Run this code
# NOT RUN {
data(breastwisconsin1)
dataf<-breastwisconsin1
listconti=c( "clump_thickness","uniformity_of_cell_shape","mitosis")
listclass=c("")
vardep="classes"
result<-mcacontourjit(dataf=dataf,listconti=listconti,listclass=listclass,vardep=vardep,jit=0.1)
# }

Run the code above in your browser using DataLab