rownames() weist den Reihen einer Matrix einen „Namen“ (Label) zu.

Handhabung

Es existiert eine Tabelle meine.tabelle

Sie müssen nun eingeben:

rownames(meine.tabelle) <- c("Zeile 1", "Zeile 2", "Zeile 3", ..., "Zeile X")

siehe auch


This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.