Re: [R] Displaying Dichotomous Variables as fractions in gtsummary Tables

2023-03-27 Thread Deramus, Thomas Patrick
Will do. Thank you! -Original Message- From: Duncan Murdoch Sent: Monday, March 27, 2023 2:31 PM To: Deramus, Thomas Patrick ; r-help@r-project.org Subject: Re: [R] Displaying Dichotomous Variables as fractions in gtsummary Tables External Email - Use Caution I think

Re: [R] Displaying Dichotomous Variables as fractions in gtsummary Tables

2023-03-27 Thread Duncan Murdoch
I think questions about gtsummary are better addressed to that project. They have a link "Getting Help" on their web page; I'd start there: https://www.danieldsjoberg.com/gtsummary/SUPPORT.html Duncan Murdoch On 27/03/2023 2:19 p.m., Deramus, Thomas Patrick wrote: Hi R Experts. Apologies

[R] Displaying Dichotomous Variables as fractions in gtsummary Tables

2023-03-27 Thread Deramus, Thomas Patrick
Hi R Experts. Apologies if this has been shared elsewhere, but I haven't been able to find a solid answer to this. I'm wanting to create a table in gtsummary that displays entries for "Yes" and "No" as fractions rather than a relative to the total (e.g. {n} / {N} in the documentation). I

Re: [R] printing a data.frame without row numbers

2023-03-27 Thread Jeff Newmiller
Read ?print.data.frame. There is an argument for that. On March 27, 2023 10:05:10 AM PDT, Dennis Fisher wrote: >R 4.2.3 >OS X > >Colleagues, > >I am printing a large number of tables using the print command. A simple >example is: > print(data.frame(COL1=1:5, COL2=10:6)) > >The result in

Re: [R] printing a data.frame without row numbers

2023-03-27 Thread avi.e.gross
Try: print(data.frame(COL1=1:5, COL2=10:6), row.names=FALSE) -Original Message- From: R-help On Behalf Of Dennis Fisher Sent: Monday, March 27, 2023 1:05 PM To: r-help@r-project.org Subject: [R] printing a data.frame without row numbers R 4.2.3 OS X Colleagues, I am printing a

Re: [R] printing a data.frame without row numbers

2023-03-27 Thread Duncan Murdoch
print(data.frame(COL1=1:5, COL2=10:6), row.names=FALSE) On 27/03/2023 1:05 p.m., Dennis Fisher wrote: R 4.2.3 OS X Colleagues, I am printing a large number of tables using the print command. A simple example is: print(data.frame(COL1=1:5, COL2=10:6)) The result in this case is:

[R] printing a data.frame without row numbers

2023-03-27 Thread Dennis Fisher
R 4.2.3 OS X Colleagues, I am printing a large number of tables using the print command. A simple example is: print(data.frame(COL1=1:5, COL2=10:6)) The result in this case is: COL1 COL2 11 10 229 338 447 556 I would like to print the table