Learn R Programming

lmap (version 0.2.4)

make.df.for.varlabels: Helper function for the plot functions

Description

Helper function for the plot functions to add variable labels to the predictor and response variable axes

Usage

make.df.for.varlabels(BV, margins, names, P, R)

Value

df with information for the placement of the variable labels

Arguments

BV

Concatention of matrices B (P x S) and V (R x S) or only V (R x S) from lpca

margins

a vector of length four indicating the margins of the plot

names

a vector with variable names

P

an integer indicating the number of predictor variables

R

an integer indicating the number of response variables