Displaying 20 results from an estimated 34 matches for "moumita".
2009 May 22
2
Query regarding na.omit function
...se I and II don't work.My dataset has rows with NA values,that's for
sure.
Whereas this simple code,works fine.I mean from the data frame the rows
containing NA values could be easily deleted.
DF <- data.frame(x = c(1, 2, 3), y = c(0, 10, NA))
DF<-na.omit(DF)
print(DF)
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 May 16
1
Fwd: Cannot allocate a new database connection error
---------- Forwarded message ----------
From: Moumita Das <das.moumita.online@gmail.com>
Date: Sat, May 16, 2009 at 2:26 PM
Subject: Cannot allocate a new database connection error
To: r-help-request@r-project.org
Hi friends,
why do i keep getting this error?The program runs, twice and every third
time i get this error.I have to quit.Again get...
2009 Aug 20
2
Insert rows in between dataframes
...NA
NA NA
NA
i15 NA
NA NA
NA
rbind after row number i10 will change row number i12 to have NA,Na,NA.Na
values.
--
Thanks in advance
Moumita
[[alternative HTML version deleted]]
2009 Jun 25
2
Error: system is computationally singular: reciprocal condition number
...Is <- sqrt(1/diag(V))
if (any(!is.finite(Is)))
warning("diag(.) had 0 or NA entries; non-finite result is
doubtful")
r <- V
r[] <- Is * V * rep(Is, each = p)
r[cbind(1L:p, 1L:p)] <- 1
r
}
return(rxx.z)
}
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Jun 10
2
How to get the unique pairs of a set of pairs dataframe ?
...n a pair matches with any
second item of previous pair and similarly **second item in a pair matches
with any first item of previous pair* and keep entering them in a dataframe
and get the unique pairs.
But is there any other easier way of chopping off the identicle pairs?
*-- *
Thanks in advance
Moumita
[[alternative HTML version deleted]]
2009 May 11
0
Partial correlation function required
---------- Forwarded message ----------
From: <r-help-bounces@r-project.org>
Date: Mon, May 11, 2009 at 10:24 PM
Subject: The results of your email commands
To: das.moumita.online@gmail.com
The results of your email command are provided below. Attached is your
original message.
- Results:
Ignoring non-text/plain MIME parts
- Unprocessed:
What is the function for partial correlation.The function which i found
here:-- http://www.yilab.gatech.edu/pcor.R a...
2009 Feb 18
2
Added system Info:--Segmentation Fault occured while connecting to the database
...tched"
$major
[1] "2"
$minor
[1] "4.0"
$year
[1] "2006"
$month
[1] "11"
$day
[1] "25"
$`svn rev`
[1] "39997"
$language
[1] "R"
$version.string
[1] "R version 2.4.0 Patched (2006-11-25 r39997)"
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Jan 06
1
Warning message:In pt(q, df, lower.tail, log.p) : NaNs produced
...PARAMETER <- c(df = df)
+ STATISTIC <- c(sqrt(df) * r / sqrt(1 - r^2))
+ p <- pt(STATISTIC, df)
+ return(2 * pmin(p, 1 - p))
+ }
> cor.p.values(r,2)
[1] NaN NaN NaN NaN
*Warning message:
In pt(q, df, lower.tail, log.p) : NaNs produced
*
Any help will be appreciated.. :)
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Aug 28
1
How to generate mean anova value row in anova table, instead of individual value for each predictor
...F value
Regression Calculations sum of all the above dfs sum of all the above Sum
of Squares Sum of Squares/df Mean Square due to Regression/Mean Square due
to Residuals
But isn't there any function in R to get what i explained above in a much
easier way?
--
Thanks in advance
Moumita
[[alternative HTML version deleted]]
2009 Sep 30
1
How to calculate KMO?
...q)[1])/2
library(corpcor)
pcor.sq = cor2pcor(cor(df))^2
pcor.sumsq = (sum(pcor.sq)-dim(pcor.sq)[1])/2
kmo = sus.cor.ss/(sus.cor.ss+sus.pcor.ss)
return(kmo)
}
What is this object "*sus.cor.ss*"?I get errors
> sus.cor.ss
Error: object "sus.cor.ss" not found
Thanks in advance
Moumita
[[alternative HTML version deleted]]
2009 Jul 22
1
How to dynamically generate lm() function arguments?
...pendent_var_counter])
~ as.numeric(item_item_table[item_item_independent_var_counter ] ) )
#print(summary(item_item_fit))
}
}
How can the lm() arguments be generated dynamically.?Would be grateful if
anyone can come up with a solution for my problem.
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Feb 13
1
Write and Load functions from an external file
...when starting a new session, use
attach("myproject/rfunctions/saved.rda")
The .rda extension on the filename is commonly used for saved R data
sets but you can also have function definitions in a saved file.
Are these the only ways,and the best ways,to do what I want?
*--
Thanks
Moumita*
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Feb 18
1
Possible Cause of Segmentation Fault
...ompt and the results were:----
> drv<-MySQL()
> drv
<MySQLDriver:(20645)>
> dbConnect(drv, user="xyz", password="xyz",dbname =xyz_database, host =
xyz.com)
Error in mysqlNewConnection(drv, ...) : *object "xyz.com" not found*
* *
* *
Thanks
Moumita
[[alternative HTML version deleted]]
2013 Jan 16
1
Problems regarding the package "BRugs"
...or was like below:
model has probably not yet been updated
model has probably not yet been updated
Is there any problem with the function, or the input of the function, in
the latest version of the "BRugs" package?
Can you please help me in this problem.
Thanking you.
Moumita Chatterjee.
Research Scholar
Department Of Statistics
University Of Calcutta
[[alternative HTML version deleted]]
2009 Jan 02
1
Calculating signicance value
...get possible pairs of the column names of
my dataset(shown above dataset 1),and also the data and then pass to
cor.test and calculate the significance.
Isn't there any easier way to do this,with minimum number of lines of
code.Because I am dealing with huge datasets.
--
Thanks In Advance :)
Moumita
[[alternative HTML version deleted]]
2009 Jun 28
1
ERROR: system is computationally singular: reciprocal condition number = 4.90109e-18
...issing(b)) {
if (nc != nrow(a$qr))
stop("only square matrices can be inverted")
b <- diag(1, nc)
colnames(b) <- rownames(a$qr)
}
qr.coef(a, b)
}
So what has to be done in the "base" package to get rid of this error.
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Apr 29
2
if condition doesn't evaluate to True/False
...example of two databases where I tried to get the
where clause for subgroup 1.In case of Database1 it was not available in
case of Databse2 it was available.But the problem may appear for the same
database also, when where clause is available for say one subgroup and not
for the other.
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Jul 20
1
Regression function lm() not giving proper results
...d due to missingness)
Multiple R-squared: 0.6507, Adjusted R-squared: 0.1267
F-statistic: 1.242 on 3 and 2 DF, p-value: 0.4751
In case – (I) if I make the individual columns as vectors also ,I do not get
correct results.what could be the cause of the incorrect results produced.
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Jun 06
1
how to make the dynamically creted string work inside if as a condition
...ng is :--
str<- name=='tom' || name=='harry' || name=='tina'
where the names are diffrent for diffrent DBs.
if(name=='tom' || name=='harry' || name=='tina' )
{
some code
}
If i do this
if(str)
{
some code
}
It doesn't work:(
--
Thanks
Moumita
[[alternative HTML version deleted]]
2009 Aug 24
1
natural sorting a data frame /vector by row
...NA
recmeanC3 1.283534e-17 2.080644e-17 6.168929e-01 0.53781390
recmeanC4-3.079466e-17 2.565499e-17 -1.200338e+00 0.23103743
I want a sequence of rows as :-- *recmeanC2 ,recmeanC3,recmeanC4* and the *NA
row in the third position from the top*(presently it's third from down)
--
Thanks
Moumita
[[alternative HTML version deleted]]