R/anovaint.R

anovaint <- function (obj, index, N = 10) 
{
    A <- maA(obj)[, index]
    M <- maM(obj)[, index]
    Ao <- A[order(A)]
    Ao <- Ao[!is.nan(Ao)]
    Mo <- M[order(A)]
    Mo <- Mo[!is.nan(Mo)]
    intensityint <- gl(N, ceiling(length(Mo)/N), length(Mo))
    s <- summary(ano <- lm(Mo ~ intensityint - 1))
}
##############################################################

Try the OLIN package in your browser

Any scripts or data that you put into this service are public.

OLIN documentation built on Nov. 8, 2020, 7:44 p.m.