search for: tp4658998p4659001

Displaying 1 result from an estimated 1 matches for "tp4658998p4659001".

2013 Feb 18
1
R function help!
...generate a sample y={y1,...,y25) of n=25 observed sums. Any good? ticket.ns<-c(1,1,1,1,2,5,5,10,10,10) draw=NULL for (i in 1:25){ draw[i] <- sum(sample(ticket.ns,40,replace=TRUE)) } print(draw) HTH Pete -- View this message in context: http://r.789695.n4.nabble.com/R-function-help-tp4658998p4659001.html Sent from the R help mailing list archive at Nabble.com.