In the below example i show how to assign a label (in this case Casenr) to each data point on my scatter plot.
```
plot(BMI~Age, data=prevend.sample)
text(BMI~Age, labels=Casenr, data=prevend.sample)
```
Introduction to the Analysis of Survival Data in the Presence of Competing Risks
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4741409/
-
Unlike Stata and other statistical package, running a cross tabulation on a subset of data in R is not a very straight forward thing. Let ...
-
``` hist(coffee.exercise$met[coffee.exercise$coffee.consumption=="A"]) hist(coffee.exercise$met[coffee.exercise$coffee.consumpt...
-
Library (magrittr) Library (dplyr) https://uc-r.github.io/pipe#:~:text=The%20compound%20assignment%20%25%25,and%20then%20assigning%20the%20r...