Description Usage Arguments Value Examples
View source: R/basicFunctionsKernel.R
Plots examples of estimated densities together with real response
1 2 3 4 5 6 7 8 9 10 11 |
objectCDE |
Object of the class "FlexCoDE", typically fitted used |
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 |
predictionBandProb |
Either a number indicating the probability for the highest predictive density region desired or FALSE if bands are not desired. Default is FALSE |
lineWidthPred |
Line width of the prediction bands to be ploted |
xTest |
Covariates x of the sample used to test the model (one observation per row) |
Plot with estimated densities
1 | # See \code{\link{fitFlexCoDE}}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.