search for: firstcol

Displaying 5 results from an estimated 5 matches for "firstcol".

2002 Apr 24
2
Regarding pp.plot(){CircStats}
...e first column is a time series in the sense contains the amount of time the model that i am studying stays in a particular state(ie sojourn time). I extract the contents of the table using read.table. and extract the first column from the table as follows. ft <-read.table(<filename>) firstcol <-ft[1]. When I pass firstcol as a parameter to pp.plot(firstcol) I get the following error : Error in if (abs(term) < acc) flag <- "false" : missing value where logical needed Can anyone tell me where the mistake is. end. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2008 Jun 28
1
Converting the results of granger.test into a matrix
Dear R Users, The granger.test command in the MSBVAR package estimates all possible bivariate Granger causality tests for m variables. If one passes a data frame with 3 rows, it returns 6 granger tests in two rows, one for the F-statistic and another for the p-value. For example: > a<-rnorm(1:10) > b<-c(lag(a),rnorm(1)) > c<-c(lag(b),rnorm(1)) >
2002 Jul 27
1
R Code for X-Tab with Row/Col Proportions, Expected Vals and Tests
Recently, I noted a post and replies on R-Help from Professor Marc Feldesman regarding a cross tabulation function that generates row and column proportions, marginal values, expected cell values and tests for independence presumably similar in a fashion to the output of the S-Plus crosstabs() function or the SAS Proc Freq. Martin Maechler had posted some code in reply for folks to update and
2005 Jun 23
1
the dimname of a table
i have a data frame(dat) which has many variables.and i use the following script to get the crosstable. >danx2<-c("x1.1","x1.2","x1.3","x1.4","x1.5","x2","x4","x5","x6","x7","x8.1","x8.2","x8.3","x8.4","x11",
2004 Sep 16
5
Indexing lists
DeaR useRs: I have a list with 500 elements, in each other there are data.frames and I want to take the first row and the first column of each elements of my list since the first to the 500-th. Thanks and excuse my bad English. --- [[alternative HTML version deleted]]