th ggplot2 and lattice place the legend outside the plot area by default;
> I've illustrated a couple of ways to pull it into the plot region FYI.
>
> One other thing: if your data set contains fitted values from your PK
> models for each subject * dose combination, the loess smoothing
,pch=3,)
points(temp.subanddose$TAD,
temp.subanddose$IPRE,type="l",col=3)}
key(text=list(c("5 mg", "7 mg", "10 mg")),lines=list(type=rep
("l",3),col=1:3),border=T,corner=c(1,1))
}
On Fri, Oct 15, 2010 at 1:31 AM, David Winsemius wrote:
>
>
had.co.nz/ggplot2/
>
> HTH,
> Dennis
>
>
> On Thu, Oct 14, 2010 at 10:02 PM, Anh Nguyen wrote:
>
>> I found 2 problems with this method:
>>
>> - There is only one line for predicted dose at 5 mg.
>> - The different doses are 5, 7, and 10 mg but some
I found 2 problems with this method:
- There is only one line for predicted dose at 5 mg.
- The different doses are 5, 7, and 10 mg but somehow there is a legend for
5,6,7,8,9,10.
- Is there a way to make the line smooth?
- The plots are also getting a little crowded and I was wondering if there a
4 matches
Mail list logo