R: Summarize osmar objects

summary.osmar {osmar} | R Documentation

## Summarize osmar objects

### Description

Summaries of `osmar`, `nodes`, `ways`, and `relations` objects. Use these methods to get an overview of the content.

### Usage

      ## S3 method for class 'osmar'
     summary(object, ...)

      ## S3 method for class 'summary.osmar'
     print(x, max.print = 3,
        nchar.value = 20, ...)

      ## S3 method for class 'nodes'
     summary(object, ...)

      ## S3 method for class 'summary.nodes'
     print(x, max.print = 10,
        nchar.value = 20, ...)

      ## S3 method for class 'ways'
     summary(object, ...)

      ## S3 method for class 'summary.ways'
     print(x, max.print = 10,
        nchar.value = 20, ...)

      ## S3 method for class 'relations'
     summary(object, ...)

      ## S3 method for class 'summary.relations'
     print(x, max.print = 10,
        nchar.value = 20, ...)

### Arguments

`object` | An object (`osmar`, `nodes`, `ways`, or `relations` for which a summary is desired
`...` | Ignored
`x` | The computed summary object to print
`max.print` | Maximum number of shown tags
`nchar.value` | Number of shown characters of the value column

### Value

`summary.osmar` returns a list with the summaries for nodes, ways, and relations.

`summary.nodes`, `summary.ways`, `summary.relations` all return a list with

`key`

  A contingency table of the counts of each key label; in descending order

`val`

  A contingency table of the counts of each value label; in descending order

`keyval`

  A contingency table of the counts greater zero of each combination of key and value labels; in descending order

### See Also

`osmar`

[Package osmar version 1.1-7 Index]