[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: ##--

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 wrote: > Hello, > > Please have a look at: > http://cran.r-project.org/web/views/TimeSeries.html > > Regards, > Pascal > > > > 2013/9/20 Indrajit Sengupta > >>

[R] Factored ARMA models

2013-09-19 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 [[alt

Re: [R] Mixed Modeling in lme4

2013-04-30 Thread Indrajit Sengupta
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, Indraji

[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: http://support.sas.com/documentation/cdl/en/statug/630

[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 https://stat.ethz.ch/mailman/listin

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 To: ya Cc: r-help@r-project.org Sent: Saturday, April 28, 2012 11:57 PM Subject: Re: [R] "parallel" package On 28.04.2012 20:18, ya w

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

2012-04-28 Thread Indrajit Sengupta
ndows, which is nowadays the primary Windows version.  But that does not apply to the on-extended-support Windows XP which is 32-bit only. It does build on 32-bit Windows, and my advice was accurate and complete. > > On Fri, Apr 27, 2012 at 6:27 PM, Indrajit Sengupta > >> I came ac

Re: [R] Unable to compile & install rggobi

2012-04-27 Thread Indrajit Sengupta
, Indrajit   From: Prof Brian Ripley Cc: R Help 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 Tools 2.15 (in Windows XP). I dow

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\rggobi>R 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 char

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 Cc: R Help Sent: Friday, April 27, 2012 2:21 PM Subject: Re: [R] Unable to compile & install rggobi You need to set som

[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] introducing R to high school students

2012-04-21 Thread Indrajit Sengupta
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 > > >

Re: [R] introducing R to high school students

2012-04-21 Thread Indrajit Sengupta
/12 15:29, Indrajit Sengupta wrote: > 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 is a ***TERRIBLE*** tool. > and no matter how muc

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 on

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 grap

[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 l

[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 lik

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 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 any doubt as to the merits

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 To: r-help@r-project.org Sent: Wednesday, November 30, 201

Re: [R] Negative exponential fit

2011-11-29 Thread Indrajit Sengupta
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 do not know), but call

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 To: r-help@r-project.org Sent: Tuesday, November 29, 2011 8:39 AM Subject: [R] Negative exponential fit We n

[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]] __ R-

Re: [R] two-way anova help

2011-09-27 Thread Indrajit Sengupta
nt 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 wrote: Hi Paul, > > >There should not be any problem. Here i

Re: [R] two-way anova help

2011-09-26 Thread Indrajit Sengupta
e this makes more sense. Austin On Mon, Sep 26, 2011 at 10:21 PM, Indrajit Sengupta 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-26 Thread Indrajit Sengupta
s, 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 wrote: Can you explain what do you mean by &qu

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 To: r-

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 To: r-help@r-project.org Sent: Monday, August 1, 2011 3:14 PM Subject: [R] Plotting question Hi, I use R to draw my

Re: [R] Neural Network resource

2009-06-02 Thread Indrajit Sengupta
Thanks to all those who have replied to my query. I have decided do a thorough reading on this subject and try to seek out a proper solution. I will stick to the nnet package as mentioned by Jude and try and compare results with other neural network software if possible. Regards, Indrajit  

Re: [R] Neural Network resource

2009-05-27 Thread Indrajit Sengupta
### Here I am trying to predict Oxygen levels using the 6 independent variables. But whenever I am trying to run a prediction - I am getting constant values throughout (In the above example - the values of pred). Thanks & Regards, Indrajit   - Original Message F

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 delibe

[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, Indrajit

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 Shey