Re: [R] Function not working as I'd like

2013-10-23 Thread smugg55
Could you please show me what the code should be then? -- View this message in context: http://r.789695.n4.nabble.com/Function-not-working-as-I-d-like-tp4678878p4678898.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-projec

[R] Function not working as I'd like

2013-10-23 Thread smugg55
Hey all, So I wrote/borrowed some code (no, I'm not trying to claim all of the work I've done below as my own). Ideally what I'd like the code to do is calculate ep for each iteration of q. Here's the code: > gpdriskmeasures = function(x , prob = > c(0,.1,.2,.25,.3,.4,.5,.6,.7,.75,.8,.9,.95,.99))