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

Description Usage Arguments Value Examples

View source: R/basicFunctions.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 'FlexCoDE_binded'
plot(
  objectCDE_binded,
  xTest,
  zTest,
  nPlots = min(nrow(xTest), 9),
  fontSize = 12,
  lineWidth = 1
)

Arguments

objectCDE_binded

Object of the class "FlexCoDE_binded", typically obtained using bindFlexCoDE beforehand

xTest

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

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

Value

Plot with estimated densities

Examples

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

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