29 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
65
views
How to Create a Vertically Spanned Cell in a Second Column in Table?
I want to get the following table:
+---+---+---+
| | b | c |
| +---+---+
| a | | c |
| + b +---+
| | | c |
+---+---+---+
but I can't seem to make it happen. The closest I got was ...
1
vote
1
answer
1k
views
How can I indent specified rows when using tbl_summary from the gtsummary package?
I have a composite variable ("Needs Medical Attention") that is made up of several sub-variables ("Heart Disease", "Cancer"); that is, if a subject has "Heart ...
0
votes
1
answer
637
views
Combining tbl_strata summary tables in R
I want to combine three table strata table summary objects. You can't merge them with the tbl_merge function. What can I do?
I have three tables like this:
table_one <- data %>%
select(Var1m, ...
1
vote
0
answers
197
views
Formating outputs made with tbl_regression and plot in gtsummary
I got this example data frame in order to show what I want.
# Set the random seed for reproducibility
set.seed(123)
# Create a vector with categories for each variable
var1 <- sample(c("A&...
1
vote
0
answers
193
views
Create table with tbl_summary in R by more than one variable
Name <- c("Nick", "Bill", "Maria", "Ben", "Tina")
Type <- c("general", "specialized", "er", "specialized"...
0
votes
0
answers
43
views
How to make this subgroup Table
How to make this type of table in R ?
Thanks in advance.
2
votes
1
answer
1k
views
Add row totals to tbl_summary
I am attempting to add row totals to my tbl_summary().
Here is my code so far
ibrary(tidyverse)
library(gtsummary)
set.seed(42)
n <- 1000
dat <- data.frame(q=runif(n, min=45, max=85),
...
1
vote
1
answer
819
views
R : problem with the dplyr::tbl() function due to restricted permission
I work with large databases that needs to be stored into a server.
So, to work with them on Rstudio I have to open a connection to my Microsoft SQL Server with the dbConnect function :
conn <- ...
0
votes
1
answer
162
views
How can I get a tbl of per game career stats for every (or almost every) NBA player in history?
I've tried this using nbastatR:
library(nbastatR)
assign_nba_players()
players <- df_dict_nba_players$idPlayer
nba_careers <- players_careers(player_ids= players, modes="PerGame")
But ...
0
votes
0
answers
315
views
Unable to obtain chisq for tbl_summary
Trying to create a table that resembles below and would like to obtain a p value (using chi square testing, have approx 34000 patients and there is some missing data which I would like to exclude in ...
0
votes
2
answers
604
views
Error while using the function tbl_summary()
I'm trying to use the function "tbl_summary()", but I'm having the problem below, could someone help me, please?
Error in mutate():
! Problem while computing df_stats = pmap(...).
Caused by ...
1
vote
1
answer
501
views
How to get dbplyr in_schema to reference different warehouse
I'm using dbplyr to access a complex warehouse in snowflake, which contains multiple databases. I have write access to one of them, and read access to the rest. Sample structure
WH_a
- schema_a
- ...
0
votes
1
answer
39
views
Nobe at SQL scripting. Please haalp
I am trying to access my table in SQL database. However, I am getting an unusual error. Can someone please help me I am very new at this.
import sqlite3
import pandas as pd
com = sqlite3.connect('...
1
vote
0
answers
556
views
Convert Oracle table to dataframe in R
I am trying to convert an Oracle database table into an "R" data frame.
I am using the dplyr::tbl function as well as dbplyr::in_schmema to connect to the specific schema and table within ...
0
votes
0
answers
343
views
.tbl file import request for a .tlh file C++
I'm working in a C++ native project and I need to import a .tbl file
#import "C:\packages\S...\xx.tlb" raw_interfaces_only, named_guids, no_namespace
But Visual studio 2019 always ask for ...