Skip to contents

Make syntactically valid dimnames

Usage

makeDimnames(object, ...)

# S4 method for ANY
makeDimnames(object)

Arguments

object

Object.

...

Additional arguments.

Value

Modified object. Both row and columns names will be made syntactically valid.

Note

Updated 2020-01-27.

Examples

data(syntactic, package = "AcidTest")
object <- syntactic$matrix
makeDimnames(object)
#>            Murder Assault UrbanPop Rape
#> Alabama      13.2     236       58 21.2
#> Alaska       10.0     263       48 44.5
#> Arizona       8.1     294       80 31.0
#> Arkansas      8.8     190       50 19.5
#> California    9.0     276       91 40.6
#> Colorado      7.9     204       78 38.7