[R] Ass. 3 part 8 - output is correct but submission fails

Sarah Goslee sarah.goslee at gmail.com
Sun Jan 26 19:00:05 CET 2014


This is not the correct list for your questions on your homework.

You need the list for your class, NOT the worldwide R-help list.

Sarah

On Sun, Jan 26, 2014 at 1:19 AM, F. Keshavarz <fkeshca at gmail.com> wrote:
> I verify my output with the csv file but I get an error in my submission. I
> am not sure I have the requirements understood.
>
>
> ex: rankall("Heart attack",4) gives me the following for AZ (this is a
> section of my output)
>
>
>
> FLAGSTAFF MEDICAL CENTER    AZ
>
> SUMMIT HEALTHCARE REGIONAL MEDICAL CENTER    AZ
>
>
>
>
> The data from the csv for the first best rates for the state of AZ are as
> follows.
>
>
>
>
> Hospital NameStateLower Mortality Estimate - Hospital 30-Day Death
> (Mortality) Rates from Heart AttackMAYO CLINIC HOSPITALAZ9.4CARONDELET
> HEART AND VASCULAR INSTITUTEAZ9.5LA PAZ REGIONAL HOSPITALAZ10.4BANNER HEART
> HOSPITALAZ10.4FLAGSTAFF MEDICAL CENTERAZ10.5SUMMIT HEALTHCARE REGIONAL
> MEDICAL CENTERAZ10.5
>
>
>
> My understanding is that the rate 10.4 is counted once as the third lowest
> rate although we have two records; therefore the 4th lowest rate will be
> 10.5 for the FLAGSTAFF MEDICAL CENTER and SUMMIT HEALTHCARE REGIONAL
> MEDICAL CENTER.
>
> Is my understanding correct?
>




More information about the R-help mailing list