##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:plyr':
##
## arrange, count, desc, failwith, id, mutate, rename, summarise,
## summarize
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following objects are masked from 'package:plyr':
##
## arrange, mutate, rename, summarise
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
## [1] TRUE
## NAME STATE COMM.NURSES
## 35 BRISTOL HOSPITAL CT 1
## 110 CLARA MAASS MEDICAL CENTER NJ 0
## 111 UNIV MEDICAL CENTER OF PRINCETON AT PLAINSBORO NJ 0
## 112 VIRTUA WEST JERSEY HOSPITALS BERLIN NJ 7
## 113 RIVERVIEW MEDICAL CENTER NJ 2
## 114 ROBERT WOOD JOHNSON UNIVERSITY HOSPITAL NJ 1
## COMM.DOCTORS RESPONSIVENESS PAIN.MAN COMM.MEDS ENVIRONMENT DISCHARGE
## 35 0 1 1 0 0 6
## 110 0 0 0 0 0 0
## 111 0 0 0 0 4 0
## 112 0 4 3 6 1 2
## 113 0 0 3 2 0 2
## 114 0 1 0 0 0 0
## OVERALL HCAHPS.BASE HCAHPS.CON
## 35 0 10 16
## 110 0 3 13
## 111 3 11 17
## 112 4 28 19
## 113 1 13 18
## 114 1 5 14
## STATES AVERAGE
## 1 CT 1.92
## 2 NJ 1.20
## 3 NY 1.56
## STATES SCORE
## 1 CT 32.25
## 2 NJ 29.00
## 3 NY 30.30
We can conclude that Connecticut has the best hospitals in the Tri-State area based on both customer feedback as well as HCAHPS ratings. The best hospital in the Tri-State area is ADIRONDACK MEDICAL CENTER with a HCAHPS score of 89 out of 100 and an average rating of 8.86 out of 10.