Skip to content

Commit

Permalink
write.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghozayel committed Oct 2, 2022
1 parent db9ceda commit 66bd3fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/lex.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ lex <- function(answerVar) {
dplyr::group_by(ID) %>%
#averaging p.correct of the two types to get the lextale score
dplyr::summarise(p.correctAV=mean(p.correct))
write.csv(here::here(p.correctAV, 'lex.score.csv'))
return(p.correctAV)
}

0 comments on commit 66bd3fb

Please sign in to comment.