plot.combinedFlexCoDEKernel: Plots examples of estimated densities together with real...

Description Usage Arguments Value Examples

View source: R/basicFunctionsKernel.R

Description

Plots examples of estimated densities together with real response

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'combinedFlexCoDEKernel'
plot(
  objectCombined,
  kernelTestTrain,
  zTest,
  nPlots = min(nrow(kernelTestTrain), 8),
  fontSize = 12,
  lineWidth = 1
)

Arguments

objectCombined

Object of the class "combinedFlexCoDE", typically fitted used combineFlexCoDE beforehand

zTest

Response z of the sample used to test the model (one observation per row)

nPlots

Number of desired densities to be ploted (which will be picked at random). Default is minimum between 8 and number of testing points

fontSize

Font size of axis labels and legend

lineWidth

Line width of the curves to be ploted

xTest

Covariates x of the sample used to test the model (one observation per row)

Value

Plot with estimated densities

Examples

1
# See \code{\link{combineFlexCoDE}}

rizbicki/FlexCoDE documentation built on Feb. 10, 2022, 3:14 p.m.