Question

In: Computer Science

Discuss the advantages and disadvantages of R programming language in the health care industry. Discuss applications...

  1. Discuss the advantages and disadvantages of R programming language in the health care industry.
  2. Discuss applications of R for data analysis and visualization.
  3. Discuss three R statements used for decision making. Include three corresponding example statements.
  4. Describe two data visualization options in R programming language. Provide an example of a health care data application for each of the visualization options selected (for example, histogram).
  5. What is the purpose of the Microsoft Visual Studio? List the commands used to create a new R project in Visual Studio. What is your impression of the ease of use for this tool?

Solutions

Expert Solution

R is one of the most popular programming languages which is highly used in statistical analysis, data analytics, and in scientific research.

=> R programming advantages and disadvantages in healthcare field:

Advantages of R programming in the healthcare sector :

  • It is open-source and has a variety of packages that used in the healthcare sector. example: shiny, knitr , R markdown packages use for making web-based interactive visulizations and graphics.
  • R is a opensource programming language that offers a lot of features and it is more newbie-friendly.
  • Genetics, Bioinformatics and drugs are some og fields of healthcare in which R programming is used.
  • healthcare.ai (i.e healthcare startup) supports r programming packages because it offers machine learning and it provides easy automation.

Disadvantages of R programming in healthcare sector:

  • Security-wise R programming is poor which leads data loss in healthcare sector.
  • Its packages are slower than other programming language packages such as python matlab, numpy etc.
  • It takes a lot of memory to execute its packages.

=> Application of R for data analysis and visualization are :

  • R programming majorly used by data scientists because of the availability of the all extensive libraries.
  • It provides a suite for performing data analysis to its users.
  • by using R programming, one can easily crunch the dataset and information that leads much easier for data analysis and processing.
  • using R, it is easier to work with large datasets. ggplo2 is one of the most powerful library of R used for visualization.

=> R statements that are used for decision making are:

1. if statement: If a boolean expression evaluation is true then block of statements are executed.

x = 10  // declaring value of x variable

if(x > 2){  //boolean expression (x>2) which is true
print("Hooray")
}

Output of the program:

2. if else statement: here, in if else statement, If a boolean expression evaluation is true then block of statements of if block are executed and if it is False then else block of statements are execute.

x = 10  //assigning value of variable x

if(x > 20){   //boolean expression (x > 20) ie false, so else block of statement execute
    print("Hooray")
} else {
    print("I love coding")
}

Output of above program:

3. if elseif else statement: here, in R- if elseif else statement ,If a boolean expression evaluation is true then block of statements of if block are executed and if it is false, then elseif block of statement are execute and if elseif boolean expression id False, then else block of statements execute.

x = 10 //assigning value 10 to variable x

if(x > 20){  // boolean expression i.e (x > 20) that is false
    print("Hooray")
} else if(x > 15) {  // boolean expression ie (x > 15) that is again False
    print("I love coding")
} else {      // results else block of statement execute
    print("Hello world")
}

Output of above program:

=> Two data visualization options in R programming languages are:

1. Bar chart: Most of us are already familiarized with bar charts like a horizontal and vertical bar chart, but in R programming it provides staclk bar chart which further helps to introduce different variables ie:

Execute this in Rstudio or preferred editor, the output is:

Healthcare.ai supports R visualization which helps to categorize data in different categories.

2. Histogram: It is most well known for highly precise and accurate in R programming. It provides estimated probability of variable.

execute this in Rstudio or preferred editor, output is:

Healthcare.ai use this visualization for the probability or estimate time of patient recovery by storing their respective data in the histogram.

=> Microsoft visual studio is the code editor that is used to build web applications, computer programs, websites, web services. It is also used to create .net core applications or asp.net microsoft web applications.

Create a new R project in visual studio:

  • open visual studio.
  • click file> new > project
  • select R project( which is of Type: R) under template section leads open a empty R project.

The impression of the ease of use for this tool is really great. visual basic studio is a user-friendly tool for beginners who has just started to learn programming language.


Related Solutions

Discuss the advantages and disadvantages of protectionist policies to domestic industry.
Discuss the advantages and disadvantages of protectionist policies to domestic industry.
"Digital banks" discuss their advantages and disadvantages for the whole banking industry
"Digital banks" discuss their advantages and disadvantages for the whole banking industry
Private Voluntary Health Insurance as a form of health care financing,what are the advantages and disadvantages?
Private Voluntary Health Insurance as a form of health care financing,what are the advantages and disadvantages?
Discuss the advantages and disadvantages of ETFs (Exchange Traded Funds) to the banking industry.
Discuss the advantages and disadvantages of ETFs (Exchange Traded Funds) to the banking industry.
What are the advantages and disadvantages of having strong government involvement in financing of health care...
What are the advantages and disadvantages of having strong government involvement in financing of health care and the provision of health care services (summarize in 300 words).
Advantages, disadvantages and typical applications for the Acoustic Emission Testing.
Advantages, disadvantages and typical applications for the Acoustic Emission Testing.
Discuss the advantages and disadvantages of using R to analyze data compared to a spreadsheet tool...
Discuss the advantages and disadvantages of using R to analyze data compared to a spreadsheet tool such as Microsoft Excel or Tableau. Provide specific examples to illustrate your ideas.
Discuss the advantages and disadvantages of implementing electronic health record systems into health organizations. How has...
Discuss the advantages and disadvantages of implementing electronic health record systems into health organizations. How has health organizations benefited from implementation? What should health organizations be careful about when implementing these information systems?
Advantages and Disadvantages of Psychological Profiling Discuss the advantages and disadvantages of Psychological Profiling. Provide examples...
Advantages and Disadvantages of Psychological Profiling Discuss the advantages and disadvantages of Psychological Profiling. Provide examples to support your position.
Discuss the advantages and disadvantages of participatory budgeting
Discuss the advantages and disadvantages of participatory budgeting
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT