Skip to content
Back to formatted view

Raw Message

Message-ID: <839df10a05080612484a170a7e@mail.gmail.com>
Date: 2005-08-06T19:48:16Z
From: Rangesh Kunnavakkam
Subject: help regarding functions & loops

I am new to R,so excuse me if its too basic. I have a vector of scores
        S= {s1,s2,s3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,sn}
n could be very large.
I want to find p-value for each score and I have the formula
         pvalue= 1-exp(-exp(S))
so any ideas how to get this new vector P={p1,p2,p3,p4,p5....pn}
thankyou in advance
Rangesh