Hi,
I am a newbie to R and I am working with a Mac.
Is there any package that I can use to generate random samples from a
user defined distribution ? That is , I define a distribution
function ( maybe multi dimension ) and I want some random samples
generated from my this distribution.
variable X in (0,1) and then generate the 1st
component if X p1, the 2nd one if p1 = X p1+p2 and the 3rd one if X
=p1+p2.
--- On Fri, 13/6/08, Peng Jiang [EMAIL PROTECTED] wrote:
From: Peng Jiang [EMAIL PROTECTED]
Subject: [R] Generate Random Samples
To: r-help@r-project.org
Received: Friday
2 matches
Mail list logo