绘制系统容量的可视化(管道流量?)
我需要可靠,重复地可视化一个类似于管道的系统,该系统每单位时间都可以传递一定数量的流体。真正的系统是一个治疗部门,鉴于工作治疗师的能力,每年可以为某些人提供服务。需要可视化,因为人们对数字的反应不佳,我们被困在试图将需求与容量相匹配的情况下。
假设有3种治疗途径(评估,MBT和SCM-实际上还有更多,但3是一个很好的例子)。每个都有一个等候列表,在“管道”开口之前,可以用适当的尺寸圆表示。工作治疗师代表管道的能力 - 每年24人,每年45人。目前正在治疗的患者代表管道的填充水平 - 它可以饱和或低于饱和度(x%)。
问题:对于这种问题来说,有什么良好的可视化良好,哪些r套件可以帮助实现这一目标?
非常感谢您对忙碌的临床医生的建议。 (虽然我对R有很多经验)
I need to reliably and repeatably visualize a system which is like pipes that can pass a certain amount of fluid per unit of time. The real system is a therapy department with several interventions that can provide service to a certain number of people per year, given the capacity of working therapists. Visualization is needed because people respond poorly to just numbers and we are stuck trying to match demand with capacity.
Say there are 3 therapy pathways (assessment, MBT and SCM - in fact there are more, but 3 is a good number for an example). Each has a waiting list, that could be represented by an appropriate size circle before the "pipe" opening. Working therapists represent capacity of a pipe - say 24 people per year or 45 people per year. Patients currently in treatment represent the filling level of the pipe - it can be either saturated or below saturation (by x%).
Question: What could be a good visualization for this kind of problem and what R packages could help achieve that?
Many thanks for your advice to busy clinicians. (I have a fair amount of experience with R though)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您准备操纵数据以使其成为正确的绘制形状,则可以在
ggplot
中完成所有这些。以下时间花了我大约15分钟。假设您的数据就是这样:
然后您可以将其重新排列为这样的绘图格式:
并绘制要使用GGPLOT的绘制类似的内容:
You could do all of this in
ggplot
if you are prepared to manipulate your data to get it into the right shape for plotting. The following took me about 15 minutes.Let's say your data is like this:
Then you could rearrange it into a plotting format like so:
And draw something like the plot you want using ggplot: