Displaying 3 results from an estimated 3 matches for "number_of_head".
Did you mean:
number_of_heads
2010 Oct 13
2
Coin Toss Simulation
I am trying a simple toin coss simulation, of say 200 coin tosses. The idea
is to have a data frame like so:
Experiment# Number_Of_Heads
1 104
2 96
3 101
So I do:
d <-data.frame(exp_num=c(1,2,3)); /* Just 3 experiments to begin with */
d$head_ct <-sum(sample(0:1,200,repl=TRUE));
d;
exp_num head_ct
1 1 85
2 2 85
3...
2008 Feb 21
1
Skeletal relations
On Thu, Feb 21, 2008 at 9:00 PM, ogg.k.ogg.k@googlemail.com <
ogg.k.ogg.k@googlemail.com> wrote:
> > If you have an application-specific need for exact font data, then I
> think
> > the mechanism for retrieving this data should lie in your application,
> and
> > not in the media format that you're using for media data. I would have
> said
> > the same
2010 Oct 15
0
nomianl response model
...To: r-help at r-project.org
Subject: [R] Coin Toss Simulation
Message-ID: <1286990880619-2994088.post at n4.nabble.com>
Content-Type: text/plain; charset=us-ascii
I am trying a simple toin coss simulation, of say 200 coin tosses. The idea
is to have a data frame like so:
Experiment# Number_Of_Heads
1 104
2 96
3 101
So I do:
d <-data.frame(exp_num=c(1,2,3)); /* Just 3 experiments to begin with */
d$head_ct <-sum(sample(0:1,200,repl=TRUE));
d;
exp_num head_ct
1 1 85
2 2 85
3...