I'm trying to extract the points above and below a particular lsfit. I
can only get the residuals from the original fit though.
x = runif(100, 0, 10)
plot(x)
abline(lsfit(1:100, test))
abline(lsfit(1:100, test + sd(test))) #I want the points above THIS
line.
Is there a way to use the coeffi
the ones above the first lsfit. I'd
like only those above the second lsfit that was drawn on the plot.
David Winsemius wrote:
On Oct 25, 2009, at 1:20 PM, Tanya Cashorali wrote:
I'm trying to extract the points above and below a particular lsfit. I can
only get the residuals from the ori
For some reason when I apply a function to a single row in R it works, but
when that same row is in a data.frame it does not, see below:
apply(dx[954,], 1, query.db)
2571
1092 0.06044147
3890 0.05948577
3273 0.05911261
794 0.05855583
4241 0.05854064
3560 0.05602690
apply(dx[954
3 matches
Mail list logo