Learn R Programming

celda (version 0.0.0.9000)

celdaLogLik: Plots the log likehood over iteration for each chain

Description

Plots the log likehood over iteration for each chain

Usage

celdaLogLik(celda.res, group.by, exclude.iter = 1:10, line.size = 0.5,
  legend.position = c("none", "left", "right", "bottom", "top"),
  scales = c("free_y", "free_x", "free", "fixed"))

Arguments

celda.res

An object returned from the 'celda' function.

group.by

A vector giving the variables to group the chains by.

exclude.iter

Integers giving the indicies of iterations to excluce in the plotting. Default 1:10.

line.size

Size of the lines for each chain.

legend.position

Position of the color legend for the chains. Default "none".

scales

Are scales shared across all facets (the default, <U+2018>"fixed"<U+2019>), or do they vary across rows (<U+2018>"free_x"<U+2019>), columns (<U+2018>"free_y"<U+2019>), or both rows and columns (<U+2018>"free"<U+2019>). See ?ggplot2::facet_grid for more information.