calmr_model_graph {calmr} | R Documentation |

## Create a graph with calmr data

### Description

Create a graph with calmr data

### Usage

```
calmr_model_graph(
x,
loops = TRUE,
limits = max(abs(x$value)) * c(-1, 1),
colour_key = FALSE,
t = max(x$trial),
options = get_graph_opts()
)
```

### Arguments

`x` |
A |

`loops` |
Logical. Whether to draw arrows back and forth |

`limits` |
Numerical. Limits for color scale. Defaults to max(abs(x$value))*c(-1,1). |

`colour_key` |
Logical. Whether to show the color key |

`t` |
The trial from which weights are obtained (defaults to the maximum trial in the data). |

`options` |
A list with graph options, as returned by |

`trial` |
Numerical. The trial to graph. |

### Value

A 'ggplot' object

### Note

You should probably be getting graphs via
the `graph()`

method for CalmrExperiment.

[Package

*calmr*version 0.6.1 Index]