View Data from frames
Say data stored in the name of v1
Want to see first 6
code: head(v1)
want to see first 10
code: head(v1,n=10) or head(v1, 10)
Want to see last 6
code: tail(v1)
want to see last 10
code: tail(v1,n=10) or tail(v1,10)
Want Column Name
colnames(v1)
Want Row Name
rownames(v1)
Want to see first 6
code: head(v1)
want to see first 10
code: head(v1,n=10) or head(v1, 10)
Want to see last 6
code: tail(v1)
want to see last 10
code: tail(v1,n=10) or tail(v1,10)
Want Column Name
colnames(v1)
Want Row Name
rownames(v1)
Comments
Post a Comment