Re: [R] Plot in function

2012-11-10 Thread Pauli
Thanks a lot! -- View this message in context: http://r.789695.n4.nabble.com/Plot-in-function-tp4648576p4649177.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Plot in function

2012-11-06 Thread Pauli
(r / N) } Now I want to start it with for example "ruin(N=100,n=1000,k=50,draw=TRUE,ask=TRUE)" but i received the message, that there is an unused argument: (col = "red",main = paste(i, "th trial: ruin!" ) ). What is wrong with the code? Best regards Pauli