Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci branch #1

Merged
merged 23 commits into from
Oct 27, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix first steps with travis
  • Loading branch information
sestelo committed Oct 27, 2017
commit bd8e59b6a7d86f6be39df7904690627184edaad8
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ r:
- devel


warnings_are_errors: true
warnings_are_errors: true


notifications:
slack: newstat:ZqBL05R4NoRMqPZXnuzbF4OZ
2 changes: 2 additions & 0 deletions R/allotest.R
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ allotest <- function(formula, data = data, na.action = "na.omit",


sta_res <- function(x, y){
y[y == 0] <- 0.0001
model <- lm(log(y) ~ log(x))
muhat <- exp(coef(model)[1]) * x**coef(model)[2]
residuo <- y - muhat
Expand All @@ -221,6 +222,7 @@ sta_res <- function(x, y){
}

sta_rss <- function(x, y){
y[y == 0] <- 0.0001
model <- lm(log(y) ~ log(x))
m0 <- exp(coef(model)[1]) * x**coef(model)[2]
rss0 <- sum((y - m0)**2)
Expand Down
1 change: 1 addition & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
NPRegfast.so
program2.o
lsq.mod
Binary file removed src/lsq.mod
Binary file not shown.