[R] Problem with Barplots on Map

2013-12-09 Thread Indrajit Sengupta
I am trying to plot vertical bar plots over a map. I went through examples online but somehow not being able to. My data is currently in this format: University| Count | Category | lat | long Here is the code that I am trying execute:

[R] Factored ARMA models

2013-09-20 Thread Indrajit Sengupta
I am trying to replicate ARIMA models in R from SAS. Specifically - Factored ARMA models, which I can do very easily in SAS ( http://v8doc.sas.com/sashtml/ets/chap7/sect11.htm). I would like to know if there is a way to do this in any of the R packages. Thanks in advance, Indrajit

Re: [R] Factored ARMA models

2013-09-20 Thread Indrajit Sengupta
Can you point to any function in specific? On Fri, Sep 20, 2013 at 12:10 PM, Pascal Oettli kri...@ymail.com wrote: Hello, Please have a look at: http://cran.r-project.org/web/views/TimeSeries.html Regards, Pascal 2013/9/20 Indrajit Sengupta indrajitsg2...@gmail.com I am trying

[R] Mixed Modeling in lme4

2013-04-30 Thread Indrajit Sengupta
Hi All, I am trying to shift from running mixed models in SAS using PROC MIXED to using lme4 package in R. In trying to match the coefficients of R output to that of SAS output, I came across this problem. The dataset I am using is this one:

Re: [R] Mixed Modeling in lme4

2013-04-30 Thread Indrajit Sengupta
are using lme4, all random effects in a single block (e.g., (1 + month | batch) the 1 = intercept and month = random slope) will have an unstructured (or freely estimated) variance covariance matrix. Cheers, Josh On Mon, Apr 29, 2013 at 11:26 PM, Indrajit Sengupta indrajitsg2...@gmail.com

[R] Tutorial for ff package

2012-05-02 Thread Indrajit Sengupta
Is anybody planning to write an extensive tutorial on the ff package? I am finding the web links highly inadequate.   Regards, Indrajit [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Unable to compile install rggobi (Solved)

2012-04-29 Thread Indrajit Sengupta
, Indrajit Sengupta I came across this web site: http://cran.r-project.org/bin/windows/contrib/2.15/check/ Where I checked the file: rggobi-check.log The contents of this file is giving the same kind of error that I am facing. Does that mean, this package does not work with R 2.15 yet

Re: [R] parallel package

2012-04-29 Thread Indrajit Sengupta
You don't need quotes in the library statement, you can just use library(parallel).   Regards, Indrajit   From: Uwe Ligges lig...@statistik.tu-dortmund.de To: ya xinxi...@163.com Cc: r-help@r-project.org Sent: Saturday, April 28, 2012 11:57 PM Subject: Re: [R]

[R] Unable to compile install rggobi

2012-04-27 Thread Indrajit Sengupta
I am currently using R 2.15.0 with R Tools 2.15 (in Windows XP). I downloaded the source for RGgobi and extracted it to a folder.   Then I tried compiling and installing with the following command and got an error message:

Re: [R] Unable to compile install rggobi

2012-04-27 Thread Indrajit Sengupta
I am sorry, but I didn't understand what you are trying to say here. Can you be a bit more explicit?   Indrajit   From: Prof Brian Ripley rip...@stats.ox.ac.uk Cc: R Help r-help@r-project.org Sent: Friday, April 27, 2012 2:21 PM Subject: Re: [R] Unable to

Re: [R] Unable to compile install rggobi

2012-04-27 Thread Indrajit Sengupta
I am able to compile it. However, when I try to check it - there is error:   D:\DPF\Rggobi\rggobiR CMD check D:\\Work\\tmp\\rggobi_2.1.17.tar.gz * using log directory 'D:/Work/tmp/rggobi.Rcheck' * using R version 2.15.0 (2012-03-30) * using platform: i386-pc-mingw32 (32-bit) * using session

Re: [R] Unable to compile install rggobi

2012-04-27 Thread Indrajit Sengupta
, Indrajit   From: Prof Brian Ripley rip...@stats.ox.ac.uk Cc: R Help r-help@r-project.org Sent: Friday, April 27, 2012 2:21 PM Subject: Re: [R] Unable to compile install rggobi On 27/04/2012 08:56, Indrajit Sengupta wrote: I am currently using R 2.15.0 with R

Re: [R] introducing R to high school students

2012-04-22 Thread Indrajit Sengupta
analysis is a near  tragedy. All IMHO, of course. Cheers, Bert On Sat, Apr 21, 2012 at 9:45 PM, Indrajit Sengupta Why do you think Excel is a terrible tool? In what ways have you tried to use Excel and it has failed you? Regards, Indrajit From: Rolf Turner

Re: [R] introducing R to high school students

2012-04-21 Thread Indrajit Sengupta
Chris,   Don't get me wrong - I have nothing against learning R at an early age. However, I feel at a school level, the focus should be a bit more on programming. Here are some reasons why would not recommend R at school level:   1. At school we seldom deal with lot of data - the focus is more

Re: [R] introducing R to high school students

2012-04-21 Thread Indrajit Sengupta
] introducing R to high school students On 22/04/12 15:29, Indrajit Sengupta wrote: SNIP 1. At school we seldom deal with lot of data - the focus is more on concepts. Excel is an excellent tool     That is at best debatable, and IMHO just plain incorrect.  I firmly believe     that Excel

Re: [R] introducing R to high school students

2012-04-17 Thread Indrajit Sengupta
Hi Chris,   I am not sure, whether introducing R to High School students would be a good idea as I feel we should encourage students to sketch the graphs in paper to get their concepts right. Excel is fine, but - if I write an equation on the board, will the student be able to visualize its

[R] Specifying splits - in read.csv.ffdf

2012-04-15 Thread Indrajit Sengupta
Hi All,   I am currently trying to familiarize with ff package which allows me to store R objects in the hard drive. One of things that I notice when reading in a text file with read.csv.ffdf function - is that, in the R temp folder, 1000+ small files get created, each file having a name like

[R] GLM other machine learning packages for ffdf formats

2012-04-15 Thread Indrajit Sengupta
Hi All,   I have 1 GB dataset in ffdf format. Is there any package / machine learning algorithms available that I can apply on these ffdf format datasets?   Regards, Indrajit [[alternative HTML version deleted]] __ R-help@r-project.org mailing

Re: [R] Negative exponential fit

2011-11-30 Thread Indrajit Sengupta
Thanks Peter, will take a look at this package. Regards, Indrajit From: Peter Ruckdeschel peter.ruckdesc...@web.de To: r-h...@stat.math.ethz.ch Sent: Wednesday, November 30, 2011 5:03 PM Subject: Re: [R] Negative exponential fit I do not want to shed out

Re: [R] Negative exponential fit

2011-11-29 Thread Indrajit Sengupta
, November 29, 2011 7:33 PM Subject: Re: [R] Negative exponential fit On 29.11.2011 07:06, Indrajit Sengupta wrote: What have you tried so far - can you explain? fitdistrplus package is the default package for fitting distributions. It is a contributed packages, and perhaps it is a good one (I

Re: [R] Negative exponential fit

2011-11-29 Thread Indrajit Sengupta
What does your error distribution look like? Have you tried any time series analysis on your data? Your information is too little for us to give any concrete directions. Regards, Indrajit From: rch4 r...@geneseo.edu To: r-help@r-project.org Sent: Wednesday,

Re: [R] Negative exponential fit

2011-11-28 Thread Indrajit Sengupta
What have you tried so far - can you explain? fitdistrplus package is the default package for fitting distributions. Regards, Indrajit From: rch4 r...@geneseo.edu To: r-help@r-project.org Sent: Tuesday, November 29, 2011 8:39 AM Subject: [R] Negative

[R] Goodness of fit test in fitdistrplus

2011-11-22 Thread Indrajit Sengupta
I am using the fitdistrplus package in R and would like to do a goodness of fit test. But there does not seem to be any option to do that. Any ideas on how I can do that? Thanks Regards, Indrajit [[alternative HTML version deleted]] __

Re: [R] two-way anova help

2011-09-27 Thread Indrajit Sengupta
for each of the 9 crosses, yes, it would be very easy to code the two-way anova.  It may still be very easy, but I'm not quite sure how to account for the replicate tanks.  Hope this makes more sense. Austin On Mon, Sep 26, 2011 at 10:21 PM, Indrajit Sengupta indra_cali...@yahoo.com wrote

Re: [R] two-way anova help

2011-09-27 Thread Indrajit Sengupta
for the replicate tanks.  Hope this makes more sense. Austin On Mon, Sep 26, 2011 at 10:21 PM, Indrajit Sengupta indra_cali...@yahoo.com wrote: Can you explain what do you mean by 5 replicate tanks? Doing a two way anova is very simple in R. You would need to fit a linear model (lm function

Re: [R] two-way anova help

2011-09-27 Thread Indrajit Sengupta
replicate tanks.  If I pool all 250 observations for each cross, instead of treating it as 5x50 observations, I feel like I am losing a lot of information.   Austin     On Mon, Sep 26, 2011 at 11:40 PM, Indrajit Sengupta indra_cali...@yahoo.com wrote: Hi Paul, There should not be any problem

Re: [R] two-way anova help

2011-09-26 Thread Indrajit Sengupta
Can you explain what do you mean by 5 replicate tanks? Doing a two way anova is very simple in R. You would need to fit a linear model (lm function). Eg.: model - lm(y ~ male + female + male:female, data =) Regards, Indrajit From: Austin Paul

Re: [R] Plotting question

2011-08-01 Thread Indrajit Sengupta
Why can't you simply draw a 3 - D plot. The third variable being categorical can expressed as a bar. Regards, Indrajit From: Andrew McCulloch amccu...@yahoo.co.uk To: r-help@r-project.org Sent: Monday, August 1, 2011 3:14 PM Subject: [R] Plotting question Hi,

[R] Neural Network resource

2009-05-27 Thread Indrajit Sengupta
Hi All, I am trying to learn Neural Networks. I found that R has packages which can help build Neural Nets - the popular one being AMORE package. Is there any book / resource available which guides us in this subject using the AMORE package? Any help will be much appreciated. Thanks,

Re: [R] Neural Network resource

2009-05-27 Thread Indrajit Sengupta
You are right there is a pdf file which describes the function. But let tell you where I am coming from. Just to test if a neural network will work better than a ordinary least square regression, I created a dataset with one dependent variable and 6 other independent variables. Now I had

Re: [R] Neural Network resource

2009-05-27 Thread Indrajit Sengupta
values throughout (In the above example - the values of pred). Thanks Regards, Indrajit   - Original Message From: Max Kuhn mxk...@gmail.com To: Indrajit Sengupta indra_cali...@yahoo.com Cc: markle...@verizon.net; R Help r-help@r-project.org Sent: Wednesday, May 27, 2009 9:19:47 PM

Re: [R] Replacing dates with consecutive observations

2009-01-22 Thread Indrajit Sengupta
Hi Alina,   You can always write a loop in R to do this: # A function to shift values in an vector shift = function(y) {  cnt = length(y) - 1  m=vector(mode = numeric,length = cnt)   for (j in 1:cnt) {  m[j] = y[j+1]}  m }   Regards, Indrajit From: Alina