From efdb3e0b848bbb2674f560e39d758d1c3c916683 Mon Sep 17 00:00:00 2001 From: Ghozayel Date: Sun, 2 Oct 2022 08:06:59 +0100 Subject: [PATCH] write --- R/lex.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/lex.R b/R/lex.R index f884a9f..22fa7e1 100644 --- a/R/lex.R +++ b/R/lex.R @@ -25,6 +25,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)) %>% - view() + dplyr::write.csv(here::here(file = 'score.lex.csv')) return(p.correctAV) }