Data Analysis in R [closed]











up vote
-1
down vote

favorite












I am trying to make a variable that includes some of the inputted data from a column in R. The column contains data about whether people have heart disease or if they are controls. I am trying to run a logistic regression, so I want to disregard the controls.



How would I create a variable that only contains the heart disease diagnoses?










share|improve this question







New contributor




Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as off-topic by Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight, RoToRa Nov 15 at 11:31


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    -1
    down vote

    favorite












    I am trying to make a variable that includes some of the inputted data from a column in R. The column contains data about whether people have heart disease or if they are controls. I am trying to run a logistic regression, so I want to disregard the controls.



    How would I create a variable that only contains the heart disease diagnoses?










    share|improve this question







    New contributor




    Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    closed as off-topic by Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight, RoToRa Nov 15 at 11:31


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I am trying to make a variable that includes some of the inputted data from a column in R. The column contains data about whether people have heart disease or if they are controls. I am trying to run a logistic regression, so I want to disregard the controls.



      How would I create a variable that only contains the heart disease diagnoses?










      share|improve this question







      New contributor




      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am trying to make a variable that includes some of the inputted data from a column in R. The column contains data about whether people have heart disease or if they are controls. I am trying to run a logistic regression, so I want to disregard the controls.



      How would I create a variable that only contains the heart disease diagnoses?







      r






      share|improve this question







      New contributor




      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 15 at 5:17









      Jaime Levin

      1




      1




      New contributor




      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Jaime Levin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      closed as off-topic by Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight, RoToRa Nov 15 at 11:31


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight, RoToRa Nov 15 at 11:31


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review." – Sᴀᴍ Onᴇᴌᴀ, 200_success, Heslacher, Toby Speight

      If this question can be reworded to fit the rules in the help center, please edit the question.



























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Список кардиналов, возведённых папой римским Каликстом III

          Deduzione

          Mysql.sock missing - “Can't connect to local MySQL server through socket”