Closed Sibojang9 closed 7 years ago
Yes, this is supposed to look like that: the lines / areas connect the weighted midpoints of the bins over the x-axis. If you prefer to have the "blocky" version of the vpc where all bins are shown more explicitly you should specify the "smooth=TRUE" option.
From: Sibo Jiang notifications@github.com Sent: Saturday, May 20, 2017 11:03:49 PM To: ronkeizer/vpc Cc: Subscribed Subject: [ronkeizer/vpc] Vpc plots doesn't start from time zero. (#39)
The lines and shaded area always start from some points after the time zero, leaving the very front part blank. Not sure that this is due to the vpc nature or something else. The following vpc zooms in the first 5 hours of the theophylline case in the online tutorial. [clipboard_20170520]https://cloud.githubusercontent.com/assets/11802171/26279278/4d8cb4fa-3d7d-11e7-8aaf-5e4a1fb17db0.jpg Thank you,
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ronkeizer/vpc/issues/39, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAO4UX6VtR6Om4ft8TvW9QRoWzX545rvks5r71U1gaJpZM4Nhaes.
Where should I put that "smooth=TRUE" option? I tried to put it under either show=list() or vpc_theme=() but no success. Thanks.
it's an argument to the main vpc()
function. I realize now this specific
argument is not included yet in the documentation at vpc.ronkeizer.com. It
is however explained in the help files, type ?vpc
to get more info on all
arguments.
On Sun, May 21, 2017 at 5:41 AM, Sibo Jiang notifications@github.com wrote:
Where should I put that "smooth=TRUE" option? I tried to put it under either show=list() or vpc_theme=() but no success. Thanks.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ronkeizer/vpc/issues/39#issuecomment-302934379, or mute the thread https://github.com/notifications/unsubscribe-auth/AAO4UXcmXh1cKmmbMDWzhmWpI3cBSULVks5r8DEIgaJpZM4Nhaes .
I set the "smooth=FLASE' and now it would start from time zero. However, the noncontinuous bins apparently look not as pretty as the smooth one. I guess manual specification of smaller bin would make it smoother. Thanks.
The lines and shaded area always start from some points after the time zero, leaving the very front part blank. Not sure that this is due to the vpc nature or something else. The following vpc zooms in the first 5 hours of the theophylline case in the online tutorial. Thank you,