R plot 除了参数?

R plot except param?

请告知 except 参数在 R plot 函数中的作用:

例如:

library(benford.analysis)
data(census.2009)

# Check conformity
bfd.cen <- benford(census.2009$pop.2009, number.of.digits = 1) 
plot(bfd.cen, except = c("second order", "summation", "mantissa", "chi squared","abs diff", "ex summation", "Legend"), multiple = F) 

也许某处有很好的文档,我还没有找到。

bfd.cen 是 Benford 类型的对象,因此您可以通过键入 ?plot.Benford 获取将要使用的绘图函数的文档。那里描述 except 是这样的:

except
it specifies which plots are not going to be plotted. Currently, you can choose from 7 plots: "digits", "second order", "summation", "mantissa", "chi square", "abs diff", "ex summation". If you want to plot all, just put except = "none". The default is not to plot the "mantissa" and "abs diff".

那是有几种不同的绘图类型,except 指定了您可能不会绘制的任何绘图类型。尝试 plot(bfd.cen, except="none", multiple=T) 查看所有绘图类型。

plot(bfd.cen,  except="none", multiple=T)