i would like to color a column in my data.frame according to its values, to show the intensity into the depht graphically. The data.frame has two columns, on the depht and the second a intensity-value.
Does anybody know, if this is possible and how?
Best regards and thanks for your help,
Cacadu
Strictly speaking, a data frame is an array of values stored on memory so you can't assign this kind of aesthetic attributes to it directly but most likely you are referring to a table which would be a graphical representation of your data frame, now, how to format your table depends on what the output is going to be (HTML, pdf, etc) and what package you have in mind to use.
To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: