Re: [R] Error: unexpected symbol in [with read.table]

2015-06-27 Thread Jim Lemon
Hi Kate, I could well be wrong, but are you sure that your data file is TAB delimited and not whitespace delimited? Jim On Sat, Jun 27, 2015 at 7:37 AM, MacQueen, Don wrote: > If > > a <- read.table(args[1],sep="\t",header=T, stringsAsFactors=F) > > > fails but > > a <- read.table("/path/to/fil

Re: [R] extracting significant response variables

2015-06-27 Thread Jim Lemon
Hi adeela, I can't quite get what you want to plot in your example, but using the iris data set and the example in the "lda" help page, this may give you some idea of what can be done. I'm using the "z" structure in the example. matplot(z$scaling,xlim=c(0,5),ylim=c(-3,3),pch="",axes=FALSE, main="

[R] plm package: error subscript out of bounds

2015-06-27 Thread T.Riedle
Hi everybody, I am trying to run a panel regression on 10 economic sectors with 4 independent variables, respectively. The plm() function works well for all 10 economic sectors together, i.e. the dataframe containing all sectors. Now, I am trying to run the same regression for each sector indivi

Re: [R] large dummy-variable set in R

2015-06-27 Thread Sarah Goslee
Great! I'm glad you subscribed! Those of us who answer questions on the R lists do so because we like to help people learn R. But we really do need people with questions to put some effort into it so we can give good and useful answers. Sarah On Friday, June 26, 2015, David Winsemius wrote: > >