in the light of evolution.
-T. Dobzhansky
- Original Message
From: Andrew Robinson [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Tue Jan 17 22:20:55 2006
Subject: Re: [R] Bootstrapping help
The first thing you are doing wrong is that you are not including a
copy of cs for us to see
Ben,
although I appended a smiley to my first note, the message was
serious. If you don't show us what you're doing, we can't help you.
Please provide an example in which you:
1) generate a small dataframe similar in structure to yours
2) provide cs
3) show the boot statement that applies cs to
Message
From: Andrew Robinson [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Wednesday, January 18, 2006 15:45:15
Subject: Re: [R] Bootstrapping help
Ben,
although I appended a smiley to my first note, the message was
serious. If you don't show us what you're doing, we can't help you
Ben,
Ok, it's clear now, thanks. Note that your boot call
boot(mydata,cs,R=999)
does not specify an stype argument. The boot help file notes that
the default value for stype is i, which means that boot will pass an
index to the function, not a weight, regardless of whether you call it
w, i,
Hello,
I am new to using R and I am having problems get boot() to work properly.
Here is what I am trying to do:
I have statistic called cs. cs takes a data matrix (154 x 5) and calculates
12 different scores for me. cs outputs the data as a vector (12 x 1). cs
doesn't really use
The first thing you are doing wrong is that you are not including a
copy of cs for us to see ;).
Based on what you have written, I speculate that cs does not use the
index correctly. if so then a simple, although inefficient,
workaround is to rewrite cs:
cs - function(dataframe, index) {