n
> Sent: September 4, 2016 4:55 AM
> To: Bailey Hewitt
> Cc: R-help
> Subject: Re: [R] Creating a loop with code from the mblm package
>
> Hi Bailey,
> Treat it as a guess, but try this:
>
> for (i in c(1:3)){
> y<-mydata[,i]
> x <- mblm(y ~ Year, mydata, r
Hi Bailey,
Treat it as a guess, but try this:
for (i in c(1:3)){
y<-mydata[,i]
x <- mblm(y ~ Year, mydata, repeated = FALSE)
print(x)
}
I'm not sure that you can mix indexed columns with column names. Also,
Year is column 4, no?
Jim
On Sun, Sep 4, 2016 at 11:43 AM, Bailey Hewitt wrote:
> H
2 matches
Mail list logo