creating coloured points depending on a death event or not

We, really need to see your code and some sample data. See
FAQ Asking Questions

A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here between
```

```

However, if you are using ggplot2, have a look at the "colour" option in the aes() part of your plot command. (Note: also spelt "color" by those people in the USA)

1 Like