Nothing
#' @export
S.PO<-function(N,Pik){
sam<-matrix(0,N,1)
U<-runif(N)
for(k in 1:N){
if(U[k]<=Pik[k])
sam[k]<-k
}
return(sam)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.