Skip to content

Commit e8148fc

Browse files
small fix to previous commit
1 parent fb13ec6 commit e8148fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/BSmooth.tstat.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ BSmooth.tstat <- function(BSseq, group1, group2, estimate.var = c("same", "paire
2727
} else {
2828
fit <- locfit(yy ~ lp(xx, h = 25000, deg = 2, nn = 0),
2929
family = "huber", maxk = 50000)
30-
correction <- predict(newdata = data.frame(xx = xx))
30+
correction <- predict(fit, newdata = data.frame(xx = xx))
3131
}
3232
yy - correction
3333
}

0 commit comments

Comments
 (0)