Tanumoy Pal
2013-May-25 14:52 UTC
[R] How to plot two functions a(t) & b(t) along with x & y axes respectively in r ?
Sir, I, Tanumoy Pal, a student of M.Sc. Statistics ,am a beginner in R language. I want to write a program on SPRT in R. For this i want to draw the OC curve. You know that for drawing of OC curve we have to draw L(πh ) vs. πh . I want to know that is there any default function exists in R which can give this graph? That is, if we give the range of h, the function will give the above mentioned graph. Thank you in advance for your help. [[alternative HTML version deleted]]
Bert Gunter
2013-May-25 16:45 UTC
[R] How to plot two functions a(t) & b(t) along with x & y axes respectively in r ?
Homework? -- We don't do homework here. Also, read An Introduction to R (ships with R) or other online R tutorial before further posting. Also, learn how to search in R (or use Google or other search engine). See also the "sos" package. -- Bert On Sat, May 25, 2013 at 7:52 AM, Tanumoy Pal <tanumoy_pal123 at yahoo.in> wrote:> > Sir, > I, > Tanumoy Pal, a student of M.Sc. Statistics ,am a beginner in R language. I want > to write a program on SPRT in R. For this i want to draw the OC curve. You know > that for drawing of OC curve we have to draw L(?h ) vs. ?h . I > want to know that is there any default function exists in R which can give this > graph? That is, if we give the range of h, the function > will give the above mentioned graph. > > Thank you in advance for your help. > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
John Kane
2013-May-25 18:00 UTC
[R] How to plot two functions a(t) & b(t) along with x & y axes respectively in r ?
It would be nice if you told us what an OC curve is. If it is a Operations Curve or something like it have a look at the pROC package. It may do what you want. If that's not it, please actually tell us the names of the curves not just the initials. John Kane Kingston ON Canada> -----Original Message----- > From: tanumoy_pal123 at yahoo.in > Sent: Sat, 25 May 2013 22:52:37 +0800 (SGT) > To: r-help at r-project.org > Subject: [R] How to plot two functions a(t) & b(t) along with x & y axes > respectively in r ? > > B > Sir, > B B B B B B B B B B B B B B B I, > Tanumoy Pal, a student of M.Sc. Statistics ,am a beginner in R language. > I want > to write a program on SPRT in R. For this i want to draw the OC curve. > You know > that for drawing of OC curve we have to draw L(O?h ) vs. O?h . I > want to know that is there any default function exists in R which can > give this > graph?B That is, if we give the range of B h, the function > will give the above mentioned graph.B > > Thank you in advance for your help. > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails