R - Attribute of an object

> Procedural Languages > R

2 - Example

2.1 - Attribute of a Data Frame

attributes(sw)
$names
[1] "Fertility"   "Agriculture" "Examination" "Education"  

$row.names
[1] "Courtelary"   "Delemont"     "Franches-Mnt" "Moutier"      "Neuveville"  

$class
[1] "data.frame"

where:

Advertising
lang/r/attribute.txt · Last modified: 2017/02/12 21:02 by gerardnico