Thank you Marc - the first scenario.
On Mon, Sep 13, 2010 at 2:04 PM, Marc Schwartz wrote:
>
> On Sep 13, 2010, at 10:30 AM, James Hudson wrote:
>
> > Iâd like to sample the vector âyâ° repeatedly. In this dummy dataset,
> > Iâd
> > like to sample (and
Id like to sample the vector y repeatedly. In this dummy dataset, Id
like to sample (and store) it 1, 2, and 3 times.
Is there a straightforward way to do this without using a for loop?
x <- c(1 :3)
y <- c(1:10)
(run.sample <- sample (y, x))
Thanks very much,
Jam
WP - whole plot factor
SP - split-plot factor
SSP - split-split-plot factor, also the repeated measure (time)
Plot - replicates of each SSP treatment
How do I combine the split-plot effects with the repeated measures [
Time|Plot(WP*SP) ] effect into a random statement?
James Hudson
UBC Geog
3 matches
Mail list logo