powered by
represents the graphs to analyse the relation between a score and quantitative variables.
sco.quant (score, df, fac = NULL, clabel = 1, abline = FALSE, sub = names(df), csub = 2, possub = "topleft")
a numeric vector
a data frame which rows equal to the score length
a factor with the same length than the score
character size for the class labels (if any) used with par("cex")*clabel
par("cex")*clabel
a logical value indicating whether a regression line should be added
a vector of strings of characters for the labels of variables
a character size for the legend, used with par("cex")*csub
par("cex")*csub
a string of characters indicating the sub-title position ("topleft", "topright", "bottomleft", "bottomright")
Daniel Chessel
w <- runif(100, -5, 10) fw <- cut (w, 5) levels(fw) <- LETTERS[1:5] wX <- data.frame(matrix(w + rnorm(900, sd = (1:900) / 100), 100, 9)) sco.quant(w, wX, fac = fw, abline = TRUE, clab = 2, csub = 3)
Run the code above in your browser using DataLab