Re: [R] Help its urgent

2010-10-02 Thread Josue Nuñez Rico
o not understand. Cheers Joshua > Date: Fri, 1 Oct 2010 18:03:11 -0700 > Subject: Re: [R] Help its urgent > From: jwiley.ps...@gmail.com > To: josue_...@hotmail.com > CC: r-help@r-project.org > > Hi Josue, > > This should help, you are almost there. > > # consider

Re: [R] Help its urgent

2010-10-01 Thread Joshua Wiley
Hi Josue, This should help, you are almost there. # consider this dat <- c(1, 2) # passing TRUE/FALSE to the extraction function dat[c(TRUE, FALSE)] # Now moving to an array # Create an array with dimensions 100, 13 filled with random normal numbers dat <- array(data = rnorm(100*13), dim = c(100

[R] Help its urgent

2010-10-01 Thread Josue Nuñez Rico
Hi I am student of Masters and wanted to know if you can help with a problem I have. I have an array of 100 * 13 and need to extract all values of that array that are less than a value p = x, insert this code data = c (dat [, 1]> = p1), but only and managed to tell me if is false or true that