R/age_duration.R

Defines functions age.duration

#Defining the age and duration of the patient in a coma.
age.duration<-function(age){
  + duration<-ggplot(IQ, aes(x="age", y="duration")) + geom_point() + geom_jitter() + geom_smooth(method = 'lm')
  + return(duration)
}
screadore/Data-Visualization-Using-R-On-patient-IQ documentation built on April 19, 2020, 6:14 p.m.