Shiny : R: wilcox.test : change “value” -Output

0 votes
asked Jul 9, 2017 by rivka

I am working on a tiny shiny app, that allows the user to upload some data and run some statistics on it. I now have two things I would like to change in the output. This is the output at the moment However, as you can see, the data part is quite saying nothing, I rather have the output: data: Group1 and Group2 I also would like to have n as the number of subjects(here: 109,114,115).

This is the code to produce the current output:

statsPaired <- function(boolean_dt1, boolean_dt2){
  for (i in 4: (length(boolean_dt1))){
    print(wilcox.test( (unlist(boolean_dt1[,i, with = FALSE])), unlist(boolean_dt2[,i, with = FALSE]) , paired = T, exact= FALSE))

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter