[R] How can I tabulate time series data (in RStudio or any other R editor)?

2012-02-16 Thread jpm miao
Hello, I have a question on how to tabulate the time series data. I use RStudio, but if can be done in any other R editor, it should work in RStudio as well. a1-11:22 a1ts-ts(a1, frequency=4, start=c(1978,1)) a1ts Qtr1 Qtr2 Qtr3 Qtr4 1978 11 12 13 14 1979 15 16 17 18

Re: [R] Multiple line-plot

2012-02-16 Thread John Kane
What are you expecting to get? At the moment it appears that you are just ploting one data vector. table() is giving you a one row table. BTW you probably should not use data as a data.frame name. It is a reserved word. John Kane Kingston ON Canada -Original Message- From:

[R] incomplete final line found by readTableHeader on 'test.csv'

2012-02-16 Thread chuck.01
Hello, I have recently had issues with read.csv where i get the following warning, and this happens on both my OSX and Linux machines. Here is the warning and an example CSV file is attached: Warning message: In read.table(file = file, header = header, sep = sep, quote = quote, : incomplete

[R] Asking About packages rimage

2012-02-16 Thread chuan_zl
Dear all: Kindly to ask from R users about the package rimage is not available in R version 2.14.1. May I know how I can install this package? Thanks al ot -- View this message in context: http://r.789695.n4.nabble.com/Asking-About-packages-rimage-tp4395719p4395719.html Sent from the R help

Re: [R] Problem building up ggplot graph in a loop.

2012-02-16 Thread Keith Weintraub
A kind respondent mentioned that I gave no data for this data set. Here is a subset in CSV format: ,levels,m101,m10 1,0.15,0.00166736248903737,0.00525782746279257 2,0.16,0.000671421429082792,0.00263263808833129 3,0.17,0.00024891450838,0.00125478603676572

[R] ANOVA for glmnet

2012-02-16 Thread palanski
Simply: The R2 value we obtain at an optimized lambda using glmnet: how do we state whether that's significant or not? Using the standard lm() function, we are able to run an ANOVA and test for significance. We have no such output with glmnet. Thanks! -- View this message in context:

Re: [R] Asking About packages rimage

2012-02-16 Thread R. Michael Weylandt
Looks like its in the CRAN archives here -- http://cran.r-project.org/src/contrib/Archive/rimage/ -- then the steps for doing a source install are well documented (and easily googleable) but (unstated) OS specific. Michael On Thu, Feb 16, 2012 at 5:41 PM, chuan_zl chuan...@hotmail.com wrote:

Re: [R] incomplete final line found by readTableHeader on 'test.csv'

2012-02-16 Thread Berend Hasselman
On 17-02-2012, at 05:58, chuck.01 wrote: Hello, I have recently had issues with read.csv where i get the following warning, and this happens on both my OSX and Linux machines. Here is the warning and an example CSV file is attached: Warning message: In read.table(file = file, header =

[R] lmer - error message

2012-02-16 Thread Sean Godwin
Hi all, I am fairly new to mixed effects models and lmer, so bear with me. Here is a subset of my data, which includes a binary variable (lake (TOM or JAN)), one other fixed factor (Age) and a random factor (Year). lake FishID Age Increment Year 1 TOM 1 1 0.304 2007 2 TOM

<    1   2