Skip to content
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

TableOne treats expresses my continous variables as categorical #57

Closed
eguti opened this issue Jan 8, 2020 · 2 comments · Fixed by #66
Closed

TableOne treats expresses my continous variables as categorical #57

eguti opened this issue Jan 8, 2020 · 2 comments · Fixed by #66

Comments

@eguti
Copy link

eguti commented Jan 8, 2020

Once I define some factorVars, all myVars are treated as categorical in the table. I have checked, and they are continous in the dataframe. I attach code and result. Thank you very much.
tableone categorical continous variables trouble.docx

@ndevln
Copy link
Contributor

ndevln commented Jan 10, 2020

Can you run lapply(data, class)?

If you can create a minimal example with data you can share, that would be nice too.

My best guess is that your data is labelled.

Greetings
Alex

PS: Please don't upload word documents. Just use a textfile (.txt), markdown (.md) or somthing like https://pastebin.com/ If it fits you can also just paste it here.

@proshano
Copy link

proshano commented Jun 8, 2020

i can confirm this happens to me also with the most current cran version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants