# Construct the adjacency matrix for a topic graph

### Description

The lasso is used to determine which edges are present in a topic graph. The original R code was written by David M. Blei and co-authors and is available together with the C code for fitting the CTM.

### Usage

1 | ```
build_graph(x, lambda, and = TRUE)
``` |

### Arguments

`x` |
Object of class |

`lambda` |
Numeric in |

`and` |
Logical; if |

### Value

Returns an adjacency matrix for the topics versus topics graph.

### Author(s)

David M. Blei, modified by Bettina Gruen.

### References

Blei D.M., Lafferty J.D. (2007).
A Correlated Topic Model of Science.
*The Annals of Applied Statistics*, **1**(1), 17–35.