Learn R Programming

MultBiplotR (version 23.11.0)

PlotOrdinalResponses: 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)

Value

A plot describing the behaviour of the variable

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.

Author

Jose Luis Vicente Villardon

Details

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

Examples

Run this code

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

Run the code above in your browser using DataLab