Skip to contents

Draw a forest plot of the performance of an internally-externally cross-validated model.

Usage

# S3 method for mp.cv.val
forest(x, perfFUN = 1, method = "REML", xlab = NULL, ...)

Arguments

x

An mp.cv.val or perf object.

perfFUN

Numeric or character. Which performance statistic should be plotted? Defaults to the first.

method

character string specifying whether a fixed- or a random-effects model should be used to summarize the prediction model performance. A fixed-effects model is fitted when using method="FE". Random-effects models are fitted by setting method equal to one of the following: "DL", "HE", "SJ", "ML", "REML", "EB", "HS", or "GENQ". Default is "REML".

xlab

Label on x-axis. Defaults to the name of the performance function.

...

Other arguments passed to plotting internals. E.g. title. See forest.default for details.

Author

Valentijn de Jong <Valentijn.M.T.de.Jong@gmail.com>