Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upProblem with numeric variable #9
Comments
This comment has been minimized.
This comment has been minimized.
Thank you!
This is intended behaviour rather than a bug. 5 or fewer values in a
variable is automatically converted to a factor. If you think it would be
useful to alter this, let me know and I’ll make it optional.
Thank again.
Ewen
…On Tue, 30 Oct 2018 at 17:51, aquintela ***@***.***> wrote:
Hi,
I am using your package
I have a problema running
explanatory = c("x")
dependent = 'mort_5yr'
colon_s %>%
summary_factorlist(dependent, explanatory,
p=TRUE, add_dependent_label=TRUE)
if I use a numeric variable "x" with less than 6 values, the variable is
considered as factor, and the test is a Chi-square, not a t-test
can you help me, please?
thank you very much in advance for your attention, and for your great
package!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADO_olt12rKUDNG2jO70dx_T5sZlk0I5ks5uqHV6gaJpZM4YCQAZ>
.
|
This comment has been minimized.
This comment has been minimized.
Actually, we have some variables that can take ten values, but, finally, we only have 4 values. Anyway, we need to check if there exist mean differences using a t-test. I think that it would be interesting that the user could be select the minimal values for a factor. Thank you very much for your help! |
aquintela
closed this
Nov 2, 2018
This comment has been minimized.
This comment has been minimized.
This is now available in 0.8.8 Github version. Will go to CRAN soon.
|
ewenharrison
reopened this
Nov 6, 2018
ewenharrison
closed this
Nov 6, 2018
This comment has been minimized.
This comment has been minimized.
I have just installed the last versión. It Works fine! Thank you very much. Great Job! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aquintela commentedOct 30, 2018
Hi,
I am using your package
I have a problema running
explanatory = c("x")
dependent = 'mort_5yr'
colon_s %>%
summary_factorlist(dependent, explanatory,
p=TRUE, add_dependent_label=TRUE)
if I use a numeric variable "x" with less than 6 values, the variable is considered as factor, and the test is a Chi-square, not a t-test
can you help me, please?
thank you very much in advance for your attention, and for your great package!