Thanks guys - amazingly prompt solutions from the R community as always.
Yes, the c-y value reverts to just the first date event - the spirit of
this is that I am trying to identify and confirm a list of diagnoses that
a patient has coded in government administrative data. Once a diagnosis is
made
Hi R experts,
I have a dataset as sampled below. Values are only regarded as Œconfirmed¹
in an individual (Œid¹) if they occur
more than once at least 30 days apart.
id date value
a2000-01-01 x
a2000-03-01 x
b2000-11-11 w
c2000-11-11 y
c2000-10-01 y
c2000-09-10 y
c
I have a large dataset similar to this:
ID timeresult
A 1 5
A 2 2
A 3 1
A 4 1
A 5 1
A 6 2
A 7 3
A 8 4
B 1 3
B 2 2
B 3 4
B 4 6
B 5 8
I am trying to do something simple with ggplot. I wish to draw a density
plot split by group, and fill each group with a different colour (and
each with an alpha =0.25). I have tried a number of variations of the
following, but cannot find a way to define the colour of the fill, its
transparency an
4 matches
Mail list logo