pp.legend: Draw legend of partial plot.

View source: R/pp.legend.r

pp.legendR Documentation

Draw legend of partial plot.

Description

Draw legend of partial plot.

Usage

pp.legend(settings, x, ...)

Arguments

settings

pp.settings object resulted bypartial.plot.

x

position of the legend. For the detail, see legend function.

...

other graphic parameters passed to legend function.

Examples


data(iris)
model <- lm(
    Petal.Length ~ (Sepal.Length + Petal.Width) * Species, data = iris
)
info <- partial.plot(model, c("Sepal.Length", "Species"), pch = 16)
partial.plot.legend(info, "topleft")

Marchen/partial.plot documentation built on Feb. 13, 2025, 4:18 a.m.