Displaying 4 results from an estimated 4 matches for "pragya1386".
2012 Jul 09
3
returning multiple values
I am running a program which has an output containing four vectors named
meanfevs, meanfevns, pfevs, pfevns. I wish to return all four and be able
to access them later. I used the command
return(list(a=meanfevs,b=meanfevns,c=pfevs,d=pfevns))
it did give me the ouput. However the values did not get stored in the
vectors a,b,c and d and i am not being able to access them later by just
calling
2012 Jul 17
2
R2WinBUGS
Dear R users,
Can anyone tell me why I might get the error message
"the array index is greater than the upper bound for t" in WinBUGS ? t is a
vector I have defined. I have checked repeatedly that the array index for t
does match with the upper bound till which the loop is run. I am facing
this problem while calling the R2WinBUGS package and both in just WinBUGS
as
2012 Jul 13
1
Accessing coefficient values in linear regression
Hi everyone,
I am fitting a simple linear regression model in R. My
command is j=lm( Y ~ Sex + begsal + time + int)
Call:
lm(formula = Y ~ Sex + begsal + time + int)
Coefficients:
(Intercept) Sex begsal time int
191.916 -241.805 3.969 5.003 3.040
Now I wish to access the values of these coefficients for other purposes
2012 Jul 09
1
R to winbugs interface
Hello everyone,
I need some help regarding calling WinBUGS from R. I
have a model for WinBUGS and an R code which calls WinBUGS. On running the
code I am being shown the error message :
Error in file(con, "wb") : cannot open the connection
In addition: Warning messages:
1: In file.create(to[okay]) :
cannot create file 'c:/Program