Displaying 6 results from an estimated 6 matches for "bhargab".
Did you mean:
bhargav
2009 Jan 09
3
Matrix: Problem with the code
...,87,9,63,8,2,35,6,91,41,22,3)
mat<-0;
for(j in 1:length(x))
{
for(i in 1:p)
mat[i,j]<-x[j]^i;
}
Actually I want to have a matrix with p columns such that each column will have the elements of x^(column#).
Thanks in advance.
Bhargab
[[alternative HTML version deleted]]
2009 Jan 10
3
Applying 'lm' in each group
... 229.94688,313.37154364,202.263786,139.31002593)
n<-length(x)
m<-3;
r<-8;
c<-r*(m-1);
g1<-rep(1:(m-1),each=r);
g<-c(g1,rep(m,n-c))
xg<-split(x,g);
yg<-split(y,g);
Now if I write lm(yg~xg) then it won't work. Please advice how to proceed.
Thanks in advance.
Bhargab
[[alternative HTML version deleted]]
2009 Jan 10
1
Setting a contingency table
...n20)*100;
rp4<-100-rp3;
cp1<-(a/n01)*100;
cp2<-100-cp1;
cp3<-(c/n02)*100;
cp4<-100-cp3;
rtp1<-(n10/n)*100;
rtp2<-100-rtp1;
ctp1<-(n01/n)*100;
ctp2<-100-ctp1;
After this I can't procced in a meaningful way. Can anyone help me out?
Thanks in advance.
Bhargab
[[alternative HTML version deleted]]
2009 Jan 15
2
Interface to open source Reporting tools
...the NY Times (Tony Breyal)
> 15. Arguments for Rcmd BATCH (Andrew Hicks)
> 16. Calling C from FORTRAN and vice versa (Michael H?hle)
> 17. R version requires Bioconductor 2.3 version (Andreas Scherer)
> 18. JGR editor setting problem (tedzzx)
> 19. Setting a contingency table (Bhargab Chattopadhyay)
> 20. Applying 'lm' in each group (Bhargab Chattopadhyay)
> 21. Re: R in the NY Times (Florian Lengyel)
> 22. Re: Arguments for Rcmd BATCH (Prof Brian Ripley)
> 23. Re: R in the NY Times (Barry Rowlingson)
> 24. Re: R in the NY Times (Ajay ohri)
> 25....
2009 Jun 11
1
Integrate function in R
Hi!
Can anyone please let me know what numerical integration procedure does the integrate function in package stats follow?
Thank you in advance
Shant
[[alternative HTML version deleted]]
2011 Jul 07
2
subset from a dataset after comparing its one column to a related vector
Hello R users,
I have two data sets like the following. Form of dataset:
data:
X1 X2 X3 X4 X5
1902 RE 3 594 9
1903 RE 3 1340 7
1904 AA 3 760 14
1908 RE 4 1759 18
1909 EX 2 387 1
2901 AU 6 3116