Skip to content

Commit

Permalink
Update LONGOquotient.R
Browse files Browse the repository at this point in the history
Fixed reordering to be able to transform into a dataframe.
  • Loading branch information
aminaademovic authored Oct 21, 2024
1 parent 04e47ed commit 6932542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/LONGOquotient.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ LONGOquotient <- function(
for (i in 1:ncol(final.df)) {
final.df[1,i] <- final.df[1,i]*LQSign[1,i]
}
final.df <- final.df[order(final.df)]
final.df <- final.df[, order(as.numeric(final.df[1, ]))]
return(final.df)
}

0 comments on commit 6932542

Please sign in to comment.