Ok, thank you a lot!!
Bernardo Rangel tura wrote:
>
> On Thu, 2009-10-29 at 01:47 -0700, Fran100681 wrote:
>> Hi to all,
>> I have this dataframe (I show the first six rows)
>>
>> >head(table)
>>
>> A
Hello,
just a simple question
How can I do to invert the sign of a number? (for example: -4 to 4, 2 to -2
and so on..)
I was looking for a specific function in R but I didn't found it...
thank you
Francesco
--
View this message in context:
http://www.nabble.com/Invert-the-sign-of-a-number-tp2
Hi to all,
I have this dataframe (I show the first six rows)
>head(table)
A RFold.Change P.Value
Count1 Count2
1 ENSRNOE002_at 0 1.13 0.601
1
2 ENSRNOE009_at 0-
Thank you very much for all messages and answers, it's ok now :)
Charles C. Berry wrote:
>
> On Sun, 13 Jul 2008, Fran100681 wrote:
>
>>
>> Thank you, but this is not what i want exactly.. i would want to launch
>> function "myfun" with this scrip
name <- "A"
>>
>> myfun <- function(name) {
> + r <- grep (name, table )
> + return (r) }
>>
>> myfun(name)
> [1] 4 7 14 18
>> table
> [1] "E" "B" "D" "A" "B" "B" "A"
Hello everybody!
I'm using R and I have a little problem about function "grep". I 've got to
make a new function in which "grep" is present. So the first argument of
"grep" is the string we want to find,ok..but in this case I define a
function "x" before , x receives an argument in a object "name
6 matches
Mail list logo