Description Usage Arguments See Also Examples

Plotting methods for objects of class `"bamlss"`

and `"bamlss.results"`

, which can be
used for producing effect plots of model terms, trace plots of samples or residual plots.
Note that effect plots of model terms with more than two covariates are not supported, for this
purpose use function `predict.bamlss`

.

1 2 3 4 5 6 7 8 |

`x` |
An object of class |

`model` |
Character or integer. For which model should the plots be created? |

`term` |
Character or integer. For which model term should a plot be created? |

`which` |
Character or integer, selects the type of plot: |

`parameters` |
For trace plots of parameters, should corresponding parameter values as returned
from an optimizer function (e.g., |

`ask` |
For multiple plots, the user is asked to show the next plot. |

`scale` |
If set to |

`spar` |
Should graphical parameters be set? |

`...` |
Arguments to be passed to |

`bamlss`

, `results.bamlss.default`

, `residuals.bamlss`

.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ```
## Not run: ## Generate some data.
d <- GAMart()
## Model formula.
f <- list(
num ~ s(x1) + s(x2) + s(x3) + te(lon,lat),
sigma ~ s(x2) + te(lon,lat)
)
## Estimate model.
b <- bamlss(f, data = d)
## Effect plots
plot(b, ask = FALSE)
plot(b, model = "mu")
plot(b, model = "sigma", term = "te(lon,lat)")
## Trace plots.
plot(b, which = "samples")
## Residual plots.
plot(b, which = 3:4)
## End(Not run)
``` |

bamlss documentation built on May 31, 2017, 3:41 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.