PlotOrdinalResponses: Plot the response functions along the directions of best fit.

View source: R/PlotOrdinalResponses.R

PlotOrdinalResponsesR Documentation

Plot the response functions along the directions of best fit.

Description

Plot the response functions along the directions of best fit for the selected dimensions

Usage

PlotOrdinalResponses(olb, A1 = 1, A2 = 2, inf = -12, sup = 12, 
Legend = TRUE, WhatVars=NULL)

Arguments

olb

An object of class "Ordinal.Logistic.Biplot"

A1

First dimension of the plot.

A2

Second dimension of the plot

inf

Lower limit of the representation

sup

Upper limit of the representation

Legend

Should a legend be plotted

WhatVars

A vector with the numbers of the variables to be plotted. If NULL all the variables are plotted.

Details

Plot the response functions along the directions of best fit for the selected dimensions

Value

A plot describing the behaviour of the variable

Author(s)

Jose Luis Vicente Villardon

Examples


data(Doctors)
    olb = OrdLogBipEM(Doctors,dim = 2, nnodes = 10, initial=4,  tol = 0.001, 
    maxiter = 100, penalization = 0.1, show=TRUE)
    PlotOrdinalResponses(olb, WhatVars=c(1,2,3,4))

MultBiplotR documentation built on Nov. 21, 2023, 5:08 p.m.