as.matrix.interval | R Documentation |

Each interval is expanded into its minimum and maximum bounds.

```
## S3 method for class 'interval'
as.matrix(x, ...)
```

`x` |
An interval object to be converted. |

`...` |
Additional arguments to be passed to as.vector(). |

A matrix representation of the interval, with two columns for each interval's minimum and maximum values.

```
as.matrix(inter_city)
```

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.