Displaying 2 results from an estimated 2 matches for "brdweight".
Did you mean:
bodyweight
2010 Jul 20
2
Constrain density to 0 at 0?
...the following code:
plot( density(zTestData$Distance, weights=zTestData$Actual),
xlim=c(0,10),
main="Test TLFD",
xlab="Distance",
col=6 )
lines(density(zTestData$Distance, weights=zTestData$FlatWeight), col=2)
lines(density(zTestData$Distance, weights=zTestData$BrdWeight ), col=3)
which works fine except the distances are all positive, but the densities don't drop to 0 until around -2 or -3.
Is there a way for me to "force" the density plot to 0 at 0?
Thanks
Robert Farley
Metro
1 Gateway Plaza
Mail Stop 99-23-7
Los Angeles, CA 90012-2952
Voice...
2010 Jul 26
1
After writing data in MMF using SEXP structure, can i reference in R?
...$Distance, weights=zTestData$Actual),
> xlim=c(0, 10),
> main="Test TLFD",
> xlab="Distance",
> col=6 )
> lines(density(zTestData$Distance, weights=zTestData$FlatWeight), col=2)
> lines(density(zTestData$Distance, weights=zTestData$BrdWeight ), col=3)
>
> which works fine except the distances are all positive, but the
> densities don't drop to 0 until around -2 or -3.
>
> Is there a way for me to "force" the density plot to 0 at 0?
>
>
>
> Thanks...