Skip to content

Commit

Permalink
update crane fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marouenbg committed Jun 24, 2022
1 parent c7764ef commit eb9b13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/CRANE.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ alpacaCrane = function(input,alp,alpha=0.1,beta=0,iteration=30,isParallel=F){
tstat=c()
if (identical(names(alp[[2]]),rownames(df))){
for (i in 1:nrow(df)){
if (rownames(df)[i]=="" || sd(df[i,])==0){
if (rownames(df)[i]=="" || sd(df[i,], rm.na=TRUE)==0){
isSig=c(isSig,NA)
next
}
Expand Down

0 comments on commit eb9b13e

Please sign in to comment.