Re: [Rd] matrix

2008-04-16 Thread Yuan Jian
thanks, can I ask another basic question? I have a matrix (1 X 6). 1 rows and 6 columns. I want to remove rows that have sd(col1, col2,col3) <1 or sd(col4,col5,col6) <1. what is the simple way? Yu Duncan Murdoch <[EMAIL PROTECTED]> wrote: On 16/04/2008 7

[Rd] matrix

2008-04-16 Thread Yuan Jian
Hello, I have a matrix, I want to change value to 0 when a element in the matrix has less than 10. do you know how to do it without using loops? - [[alternative HTML version deleted]] __

Re: [Rd] && and ||

2008-04-14 Thread Yuan Jian
Berwin A Turlach <[EMAIL PROTECTED]> wrote: G'day Yu, On Sun, 13 Apr 2008 23:48:33 -0700 (PDT) Yuan Jian wrote: > what should I do when I want to get a sequence for operate && or ||? Read `help("&&")' and then use & and |. :) HTH. Cheers,

[Rd] && and ||

2008-04-13 Thread Yuan Jian
Hello there, I got a small problem about logical calculation: we can get a sequene from a+b as below: > a<-c(1,2) > b<-c(3,4) > a+b [1] 4 6 but when the sequences are logical. (I want to get (True,False) && (True, True) ==> (True, False), but when I do as below. > e<-c(T,T) > f

[Rd] .net and R

2008-02-23 Thread Yuan Jian
Hi, is it possible to call R functions from visual studio .net such as c#? - [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-de