Questions tagged [qwraps2]

34 questions
0
votes
1 answer

qwraps2 group_by only partially applies on table

I have tried out the qwraps2 package that seems quite promising. However, when I have written a table like this: set.seed(42) library(magrittr) library(qwraps2) library(dplyr) # define the markup language we are working in. #…
Jakn09ab
  • 179
  • 9
0
votes
2 answers

Error when using summary_table in qwraps2. Not correct data.frame?

I'm quite new using R, so hopefully this isn't too basic.. I'm trying to create a summary table, using qwraps2. Having followed the well-written tutorial without problems (qwraps2) I run into an error when applying my own dataset. library(qwraps2) …
0
votes
1 answer

R Error when using function summary_table and qwraps2

I am trying to create a table 1 using dplyr and qwraps. These are both installed. I am getting the error below. Does anyone have any suggestions? c1<- list("Descriptive statistics" = list("Samples, n(%)" = ~ qwraps2::n_perc0(M$m.count>=1), …
sar
  • 182
  • 6
  • 26
-1
votes
1 answer

Add p-value column in qwraps::summary_table

I want to make a little summary table for my colleagues in R-Markdown using qwraps::summary_table. The data.frame contains information of different exposures. All the variables are coded as binary. library(qwraps2) library(dplyr) pop <- rbinom(n =…
fbeese
  • 118
  • 8
1 2
3