Re: [R] help on matrix column removal based on another matrix results

2012-11-20 Thread Irucka Embry
Hi Rui, thank-you very much! That worked perfectly. Irucka <-Original Message-> >From: Rui Barradas [ruipbarra...@sapo.pt] >Sent: 11/20/2012 5:42:36 AM >To: iruc...@mail2world.com >Cc: r-help@r-project.org >Subject: Re: [R] help on matrix column removal based on a

Re: [R] help on matrix column removal based on another matrix results

2012-11-20 Thread Rui Barradas
ement length Thanks again. Irucka <-Original Message-> From: Rui Barradas [ruipbarra...@sapo.pt] Sent: 11/19/2012 10:35:00 AM To: iruc...@mail2world.com Cc: r-help@r-project.org Subject: Re: [R] help on matrix column removal based on another matrix results Sorry, the comma is

Re: [R] help on matrix column removal based on another matrix results

2012-11-19 Thread Irucka Embry
@mail2world.com >Cc: r-help@r-project.org >Subject: Re: [R] help on matrix column removal based on another matrix results > >Sorry, the comma is in the wrong place, it should be > >Vsim[] <- Vsim[ , NSErr > 0.6] > >Rui Barradas >Em 19-11-2012 16:18, Rui Barradas escreveu:

Re: [R] help on matrix column removal based on another matrix results

2012-11-19 Thread Rui Barradas
Sorry, the comma is in the wrong place, it should be Vsim[] <- Vsim[ , NSErr > 0.6] Rui Barradas Em 19-11-2012 16:18, Rui Barradas escreveu: Hello, Try Vsim[] <- Vsim[NSErr > 0.6, ] Hope this helps, Rui Barradas Em 19-11-2012 14:30, iembry escreveu: Hi everyone, now I am trying to finish

Re: [R] help on matrix column removal based on another matrix results

2012-11-19 Thread Rui Barradas
Hello, Try Vsim[] <- Vsim[NSErr > 0.6, ] Hope this helps, Rui Barradas Em 19-11-2012 14:30, iembry escreveu: Hi everyone, now I am trying to finish writing the code (I had asked for assistance on subtracting arrays) This is what I what I am running in R: source("/home/ie/Documents/TTU/GA_R

[R] help on matrix column removal based on another matrix results

2012-11-19 Thread iembry
Hi everyone, now I am trying to finish writing the code (I had asked for assistance on subtracting arrays) This is what I what I am running in R: > source("/home/ie/Documents/TTU/GA_Research/GLUE/R-Project/R_GLUE_Example/NSEr.R") NSEr <- function (obs, sim) { {jjh <- (as.vector(obs) - sim)^2 Xjjhs