-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NA/NaN/INf in 'y' #8
Comments
there's no NA and illegal value in 'y' |
Can you share reproducible data & code? |
Thanks for your resolution,i have succeeded running it。While,i wanna to know,how to control the other variables by this code,thanks。 |
Can you show your code with the other variable? |
library(jstable) |
Please use |
I'm sorry, I'm a beginner and I don't understand what you mean. Could you please give me a sample code,thanks. |
library(jstable)
res<-TableSubgroupMultiGLM(Osteoporosis ~ CVAI1,
var_subgroups = c("Gender", "Hypertension","Hyperlipidemia","Income","Education","Diabetes","Smoking","Residence"), data = data, family = "binomial", var_cov = c("Hypertension", "Hyperlipidemia"))
|
Thanks for your reply. |
hello! i met the same problem with "NA" .May I ask how did you solve the problem? i checked the data. There is no missing value. Thanks! |
Can you share reproducible example? I think there are non 0/1 value in ‘y' |
res <- jstable::TableSubgroupMultiGLM(fall_acc ~ ckd, family = "binomial" , the codes run well without var_subgroups |
There are no “Age” variable I check OK if |
This is my result. Could you install the latest version? data_forest <- fread("~/ShinyApps/research-individual/aquabeats2/aosc/forest.csv")
res <- jstable::TableSubgroupMultiGLM(fall_acc ~ ckd, family = "binomial" ,
var_subgroups = c("Pain"),
data = data_forest1,line=T
)
res
Variable Count Percent OR Lower Upper P value P for interaction
ckd Overall 1406 100 1.16 0.91 1.48 0.234 <NA>
1 <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA>
11 Pain <NA> <NA> <NA> <NA> <NA> <NA> 0.818
init No 808 57.5 1.12 0.79 1.6 0.52 <NA>
...4 Yes 598 42.5 1.19 0.84 1.69 0.324 <NA>
|
version of package "jstable" is 1.3.3 . the latsest one . |
there is
|
Thank you for your work!Awesome!!! |
Dear author.thanks for your excellent working, but i have some questions,
<error/purrr_error_indexed>
Error in
purrr::map()
:ℹ In index: 1.
Caused by error in
glm.fit()
:! NA/NaN/Inf in 'y'
Backtrace:
▆
i have examined 'y' for several ,it is surely nurmeric(0,1), i need your help
The text was updated successfully, but these errors were encountered: