Hi everybody,
If I've a data frame like this:
dataframe a
X0 X2 X4 X6 X8 X10 X12 X14 X16
1957 0 0 0 0 0 0 0 0 0
1958 0 0 0 0 0 0 0 0 0
1959 831 0 0 0 0 0 0 0 0
1960 544 282 0 0 0 0 0 0 0
1961 446 365 0 0 0 0 0 0 0
1962 442 473 0 0 0 0 0 0 0
1963 595 468 0 0 0 0 0 0 0
1964 400 397 516 0 0 0 0 0 0
1965 417 382 401 0 0 0 0 0 0
1966 642 518 509 453 0 0 0 0 0
1967 505 340 621 458 0 0 0 0 0
1968 451 383 428 318 339 0 0 0 0
> length (a)
[1] 9
I've a questions...
There is a function for show the lenght of single observation?
> ???? (a)
[1] 12
Best Wishes,
Alfredo
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.