In general, it's a better practice to pre-specify the size of result
> (eg matrix(NA, nrow=n, ncol=4) ) and fill it as you go, rather than
> using rbind() within a loop. Much more memory-efficient.
>
> Sarah
>
> On Fri, Jun 7, 2013 at 11:58 AM, Daofeng Li wrote:
> > Sorry
;1','1','0','0','0','0')
> str(group)
chr [1:8] "1" "1" "1" "1" "0" "0" "0" "0"
> fit=glm.nb(y~group)
Error in while ((it <- it + 1) < limit &&
on limit reached
Execution halted
So might be the error was in 6th line, not the line I pasted before (5th
line)? Sorry about that.
Thanks.
Daofeng
On Fri, Jun 7, 2013 at 10:15 AM, Marc Schwartz wrote:
>
> On Jun 7, 2013, at 9:44 AM, Daofeng Li wrote:
>
> > Dear R Communi
"c3", "c4"), class = "data.frame",
row.names = c(NA,
-10L))
above was the dput(dat). Thanks.
Daofeng
On Fri, Jun 7, 2013 at 10:47 AM, Sarah Goslee wrote:
> Hi,
>
> On Fri, Jun 7, 2013 at 11:36 AM, Daofeng Li wrote:
> > Thank you Sarah and Marc for you
Dear R Community,
I have encountered a problem while using the R function glm.nb.
The code that produce the error was following two lines:
group=c(1,1,1,1,0,0,0,0)
fit=glm.nb(y~group)
While the y contains 8 sets of number like:
gene2750 1 0 0 1 5 1
e:
> At 10:57 16/06/2009, Daofeng Li wrote:
>
>> Hi,
>>
>> i just add /home/lidaof/R/bin and /home/lidaof/R/lib to the end of the
>> PATH
>> variable
>> yet i type R command runs the system installed R 2.4.0...
>>
>>
> [sni
Hi,
i just add /home/lidaof/R/bin and /home/lidaof/R/lib to the end of the PATH
variable
yet i type R command runs the system installed R 2.4.0...
On Tue, Jun 16, 2009 at 5:48 PM, Daofeng Li wrote:
> Hi,
>
> actullay i am try to intsall Rpy2 (a python interface for R) later, f
__
> |> From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On
> Behalf Of Daofeng Li [lid...@gmail.com]
> |> Sent: 13 June 2009 15:28
> |> To: Paul Hiemstra
> |> Cc: r-help@r-project.org
> |> Subject: Re: [R] [R-help] how to install own
ck Connolly wrote:
>
>> On Tue, 09-Jun-2009 at 11:50AM +0800, Daofeng Li wrote:
>>
>> |> Dear list members,
>> |> |> i am currently want to install Rpy2 in a linux box which has R 2.4.0
>> |> installed
>> |> RPy requries R 2.7.0 or above
>&g
bash Shell?
thanks for any reply.
Best Regards!
--
Daofeng Li,PhD Candidate
China Agricultural University
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
10 matches
Mail list logo