如何使用qgraph绘制接近零值? [英] How to plot near zero values with qgraph?

查看:60
本文介绍了如何使用qgraph绘制接近零值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 R 中的 qgraph 包绘制非常小的/接近零的值?

How can I plot very small/near zero values with the qgraph-package in R?

m <- matrix( data = c( 1, 0.5, 0.1, 0.01 ), ncol = 2 )

library( qgraph )
qgraph( input = m )

推荐答案

使用 cut 参数进行实验.您的小值可能存在,只是很难看到.指定 cut 会调整饱和度宽度,使得切割点上方的所有颜色强度都最强,而距离切割点越远,下方的颜色强度越弱.通过使该值接近 0,接近 0 的值将以比其他情况下更饱和的颜色绘制.

Experiment with the cut parameter. Your small values are likely present, they are just hard to see. Specifying cut adjusts the saturation width such that everything above the cut point have the strongest color intensity and everything below gets weaker the further it is from the cut point. By making this close to 0, the near 0 values will be plotted with more saturated colors than they would have been otherwise.

qgraph(input=m,cut=0.05)

这篇关于如何使用qgraph绘制接近零值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆