Question: Data Description: In a longitudinal study, patients has been recruited and followed up for a certain length of time. During this period data has been

 Data Description: In a longitudinal study, patients has been recruited and
followed up for a certain length of time. During this period data

Data Description: In a longitudinal study, patients has been recruited and followed up for a certain length of time. During this period data has been collected for several variables as described below. Id = patients identification number hospAd = date of hospital admission hospDis = = date of hospital discharge DOB= date of birth death = death (1= yes ) reHosp = rehospitalization (1 = yes ) drVislP = In person Dr. Visit ( 1= yes) drVisVR = virtual Dr. Visit ( 1= yes) datV = days at vacation Question to answer using R. Must provide R code and answer. 1. Average days in hospital 2. Average age of pts as of jan01,2023 3. How many patients have (a) died, (b) re-hopitalized 4. How many patients have any Dr visit. 5. Provide summary statistics for the vacation days. Provide your comment for general population so that they have an understanding about the data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!