Hi friends,
Again i don't know how to pass multiple arguments from php file to r
scripts.
Please have a look at this link ; it gives a very simple explanation of
passing variables from a PHP page to r scipts.Because i have done the same
thing.
Hi All,
Once again , would like to know about your suggestions regarding the
integration of PHP and R.I have read **
*4. R Web Interfaces* here:
http://cran.r-project.org/doc/FAQ/R-FAQ.txt
It says about many tools.Here my requirement is :--
I have a tool developed in PHP.I want to
Hi All,
Can someone help me?The way to do this may be very easy but i do not know.
*Question1:*
factanal() function produces the results in this way:--
*RESULTS:--*
*fact1- factanal(data_withNA,factors=1,rotation=none)
fact1$loadings*
Loadings:
Factor1
i1 0.784
i2 0.874
i3 0.786
i4
Hi All,
How do i calculate KMO for a dataset?
*Dataset:-*
m1 m2 m3 m4 m5 m6 m7 m8
1 2 20 20 2 1 4 14 12
2 9 16 3 5 2 5 5 15
3 18 18 18 13 17 9 2 4
4 7 7 2 12 2 11 11 11
5 7 8 5 19 5 2 20 18
6 7 4 7 4 7 9 3 3
7
Hi All,
There were lot of diffrences in the R and SPSS results for Exploratory
Factor Analysis.why is it so ?I used standard factor analysis functions
like:--
factanal(m, factors=3, rotation=varimax)
princomp(m, cor = FALSE, scores = TRUE, subset = rep(TRUE,
nrow(as.matrix(m
Hi All ,
Can anybody tell me if there's any way to get the summarized anova
values.Now i will explain what i mean , when i say *summarized*.
Below you can see the anova table of recmeanC1 with rest* all* i.e from
recmeanC2 to i15(predictors),as shown in table.
Df Sum Squares
How to NATURAL sort a vector or data frame* by row* , in ascending order ?
V1 V2V3 V4
i1 5.00e-01 1.036197e-17 4.825338e+16 0.
i104.001692e-18 1.365740e-17 2.930053e-01 0.76973827
i12 -1.052843e-17
Hi all,
Can anyone suggest me how to insert rows in between data frames and also
keep the ordering of row numbers correct?
Estimate Std. Errort
value Pr(|t|)
recmeanC2 9.275880e-176.322780e-17 1.467057e+00
*Problem-1*
CASE-I-(works fine)
var1-tom
var1
[1tom
var1-as.character(var1)
var1
[1] tom
var2-c(tom,harry,kate)
logc-(var1 %in% var2)
logc
[1] TRUE
typeof(var1)
[1] character
typeof(var2)
[1] character
*CASE-II-(doesnt work)*
I have my dynamically
Hi All,
How do you dynamically generate the arguments for the lm() function when
your items vary for each database.
Say in my case for a particular database i have items from i1 to i15 .
In the code below there a line like this :--
item_cat_fit-lm(as.numeric(item_item_table$i1) ~
*
*
Hi ,
Can anyone help me please with this problem?*
*
*CASE-I*
all_raw_data_NAomitted is my data frame.It has columns with names i1 ,i2,
i3,i4
, till i15.It has 291 rows actually ,couldnt show here.
The data frame looks like this:--
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14
Hi All,
Can someone tell me if solve function shown below for my version of R is
proper or not?
I am using R 2.7.2 .Wherever i have used this function ,i got results which
were different from the expected results as computed using SPSS.
Description of this function says:--
Solve a System of
Why do we get Partial correlation values greater than 1?
I have used the default function pcor.mat :--
I have manipulated the default pcor.mat function a bit so ignore tha
variables corr_type,element1_in_no,element2_in_no,P.Please ignore the
“pairwise” section and have a look at athe “listwise
Hi friends,
I just created a new R- community in Orkut.Please do join.And we can stay
connected.
Name of the community:
Statistics R-languagehttp://www.orkut.co.in/Main#Community.aspx?cmm=91491906
--
Thanks
Moumita
[[alternative HTML version deleted]]
)
1: source(correlationFP.R)
what is this error .*Call(La_dgesv, a, b, tol, PACKAGE = base)* how
can i rectify it?
I don't know statistics...going mad ,debugging this problem..
any help is highly appreciated !! :)
Thanks in advance
Moumita
On Thu, Jun 25, 2009 at 8:29 PM, Moumita Das
Hi All,
This is my R-version information:---
version
_
platform i486-pc-linux-gnu
arch i486
os linux-gnu
system i486, linux-gnu
status
major 2
minor 7.1
year 2008
month 06
day23
svn rev
I get this error while computing partial correlation.
*Error in solve.default(Szz) :
system is computationally singular: reciprocal condition number =
4.90109e-18*
Why is it?Can anyone give me some idea ,how do i get rid it it?
This is the function i use for calculating partial correlation.
Hi friends,
Please can anyone help me with an easier solution of doing the below
mentioned work.
Suppose i have a dataset like this:---
i1 i2 i3 i4 i5
1 7 13 1 2
2 8 14 2 2
3 9 15 3 3
4 10 16 4 4
5 11 17 5 5
6 12 18 6 7
*i1,i2,i3,i4,i5 are my items.I am able to find all
Hi,
How to make an if condition work, if the condition inside if() is created
dynamically ,and that is a string .If i type teh dynamically created string
the if works fine but when dynamically created,it is a string and going
inside the if() ,an error is thrown saying : rgument is not logical
Hi friends,
Can somebody help me out please?
I have to create a string for a particular if condition , with some
values(returned by function1) which are always variable.
*Step-I* Suppose function1 returns a dataframe like this,shown below with
two values 3 and 4:---
x
1 3
2 4
*STEP-II
Hi friends,
I have a query regarding na.omit function.Please ,someone help me.
I have a function
xyz_function-function(arguments)
{
some code
return(list(matrix=dataset))
}
xyz_function_returnvalue-xyz_function(passed argumentss)
*Case-I*
types.
Thanks
Moumita
On Fri, May 22, 2009 at 7:11 PM, Moumita Das
das.moumita.onl...@gmail.comwrote:
Hi friends,
I have a query regarding na.omit function.Please ,someone help me.
I have a function
xyz_function-function(arguments)
{
some code
return(list(matrix=dataset
-- Forwarded message --
From: Moumita Das das.moumita.onl...@gmail.com
Date: Sat, May 16, 2009 at 2:26 PM
Subject: Cannot allocate a new database connection error
To: r-help-requ...@r-project.org
Hi friends,
why do i keep getting this error?The program runs, twice and every third
--
From: Moumita Das das.moumita.onl...@gmail.com
To: r-help-requ...@r-project.org
Date: Mon, 11 May 2009 22:23:33 +0530
Subject: partial correlation function
Hi friends,
What is the function for partial correlation.The function which i found
here:-- http://www.yilab.gatech.edu/pcor.R
Hi friends,
Please help me with this bug.
*Bug in my code:*
In this variable sub_grp_whr_cls_data[sbgrp_no,1] I store the where
clause.every sub group has a where condition linked with it.
Database1
Where clause was not found for a particular subgroup,
sub_grp_whr_cls_data[sbgrp_no,1]
Hi All,
Sorry to bother everyone again.Ofcourse Prof Ripley ,Yihui and Uwe had
replied to my email.But this segmentation fault error was not solved.I agree
with Prof Ripley,as he said my R and all other configurations,are very
old.But what i don't understand is ,i was able to run analysis till
Hi All,
Wanted to add some more information ,regarding my problem.
configuration of teh OS and R:---
Linux 2.6.18-6-686
R.Version()
$platform
[1] i486-pc-linux-gnu
$arch
[1] i486
$os
[1] linux-gnu
$system
[1] i486, linux-gnu
$status
[1] Patched
$major
[1] 2
$minor
[1] 4.0
$year
[1] 2006
Oops !! I had also included just one library in my script i.e RMySQL.So
sorry for the inconvenience:(
--
Thanks
Moumita
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Hi All,
If you have already finished reading my previous emails regarding
segmentation fault , please have a look at this .I think this may help you
to diagnose the reason for the segmentation fault and help me,because i
don't understand much.
Rather than running the script using the command
Hi All,
Would be grateful,if anyone can answer my queries.
I need to share code. For example, if I am working in C/C++, I would put
some function declarations in .h files that you would include. In PHP, I
would create files with the common functions in them and then include()
them. So far, I
Hi friends,
Any idea why do i get this warning?And also why all computed p-values are
NaN.
Have shown below what i did in Windows r-console.:--
df
c1 c2
1 1 50
2 NA NA
3 4 NA
4 7 6
5 NA 7
6 10 10
r-cor(x=df,y=NULL,use=complete.obs,method=c(pearson))
r
c1 c2
c1
Hi friends,
If someone can find out some time to go through my problem would be really
grateful.
I have a dataset(dataset1) as shown below:--
recmeanC1 recmeanC2 recmeanC3recmeanC4 i1 i2 i3 i4 i5 i6 i7
i8 i9 i10 i11
1 NA 1 1.00
Hi All,
I want to create empty vectors inside an empty data frame.The name of the
vectors has to come dynamically.
For example if record_mean is my empty data frame,and i have say 4
categories,the category names for record mean data frame has to
recmeanC1,recmeanC2,recmeanC3,recmeanC4,which will
33 matches
Mail list logo