SurveilLastTest: Extract the last test done by a patient only

Description Usage Arguments Examples

Description

Extracts the last test only per patient and returns a new dataframe listing the patientID and the last test done

Usage

1
SurveilLastTest(dataframe, HospNum_Id, Endo_ResultPerformed)

Arguments

dataframe

dataframe

HospNum_Id

Patient ID

Endo_ResultPerformed

Date of the Endoscopy

Examples

1
cc<-SurveilLastTest(Myendo,'HospitalNumber','Dateofprocedure')

sebastiz/EndoMineR_devlop documentation built on May 29, 2019, 7:33 a.m.