[R] how to enter frequency type data in R with class intervals

2011-01-30 Thread arindam fadikar
–6.5 feet 20 100 -- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi, India [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] how to avoid NaN in optim()

2010-09-30 Thread arindam fadikar
ogy > School of Medicine > Johns Hopkins University > > Ph. (410) 502-2619 > email: rvarad...@jhmi.edu > > > - Original Message - > From: arindam fadikar > Date: Thursday, September 30, 2010 2:17 pm > Subject: [R] how to avoid NaN in optim() > To:

[R] how to avoid NaN in optim()

2010-09-30 Thread arindam fadikar
) : NaNs produced 4: In log(q) : NaNs produced please help ... -- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi, India [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li

[R] how to use MCD condition

2010-06-05 Thread arindam fadikar
Dear R users, I have a matrix and i want to get mahalanobis distance based on covariance matrix and MCD ( minimun covariance determinant), but I could not find any such argument 'MCD" in the function 'mahalanobis'. Please help. -- Arindam Fadikar M.Stat Indian Statistical

[R] problem with the version of R

2010-04-16 Thread arindam fadikar
Dear users, I am using R in UBUNTU , but the version is 9.1. How can I upgrade it to R 10.1? -- Arindam Fadikar M.Stat Indian Statistical Institute. New Delhi, India [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] square root of inverse

2010-04-08 Thread arindam fadikar
On Thu, Apr 8, 2010 at 5:38 PM, David Winsemius wrote: > > On Apr 8, 2010, at 1:45 AM, arindam fadikar wrote: > > Dear users, >> >> How to get a symmetric square root of a positive definite matrix? I have >> tried using spectral decomposition, but some eigen values

[R] square root of inverse

2010-04-07 Thread arindam fadikar
Dear users, How to get a symmetric square root of a positive definite matrix? I have tried using spectral decomposition, but some eigen values come out to be complex. Is there any function in R that can give the symmetric square root of a pd matrix? -- Arindam Fadikar M.Stat Indian Statistical

[R] checking bivariate normality

2010-04-06 Thread arindam fadikar
x <- iris$Sepal.Length[1:50]/iris$Sepal.Width[1:50] y <- iris$Petal.Length[1:50]/iris$Petal.Width[1:50] I want to check whether (x,y) follows a bivariate normal distribution or not, using density plot or scatter plot. Is it possible to plot a bivariate density in R. I cant find any. A

[R] anova table for glm with p values

2010-03-27 Thread arindam fadikar
I have to obtain an ANOVA table with "suitable p-values" for an glm of binomial model with probit link function. I can fit the model but how can i get the anova table with suitable p values? Ref: example in help(esoph) -arindam fadikar [[alternative HTML versi

[R] obtaining the index

2010-03-27 Thread arindam fadikar
I have a vector with entries 0 and 1. I want the positions for which the entries are 1. - arindam fadikar [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read