Hi,

I have a data frame named data and with the statement
data[5:length(data[[1]]),] I can get row 5 to the end of the data.

> data
               role counts
1             Agent    220
2             Theme    169
3           Patient     67
4          Location     41
5       Destination     32
6         Recipient     31
7            Result     29
8        Instrument     27
9            Source     25
10      Experiencer     22
11            Topic     22
12         Stimulus     18
13        Attribute     15
14      Beneficiary     12
15 Initial_Location     12
16         Co-Agent     11
17       Co-Patient     11
18         Co-Theme      9
19             Goal      9
20            Asset      7
21            Cause      6
22         Material      5
23            Value      5
24          Product      4
25        Predicate      3
26       Trajectory      3
27           Extent      2
28             Time      2
29        Reflexive      1
> data[5:length(data[[1]]),]
               role counts
5       Destination     32
6         Recipient     31
7            Result     29
8        Instrument     27
9            Source     25
10      Experiencer     22
11            Topic     22
12         Stimulus     18
13        Attribute     15
14      Beneficiary     12
15 Initial_Location     12
16         Co-Agent     11
17       Co-Patient     11
18         Co-Theme      9
19             Goal      9
20            Asset      7
21            Cause      6
22         Material      5
23            Value      5
24          Product      4
25        Predicate      3
26       Trajectory      3
27           Extent      2
28             Time      2
29        Reflexive      1



--
View this message in context: 
http://r.789695.n4.nabble.com/Dropping-time-series-observations-tp4702589p4702680.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to