Make syntactically valid dimnames

makeDimnames(object)

Arguments

object

Object.

Value

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

Examples

data(mn, package = "acidtest") object <- mn$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