简体   繁体   English

R图除了param?

[英]R plot except param?

Please advise what does the except parameter does in R plot function: 请告知在R plot函数中except参数的作用:

For example: 例如:

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) 

Maybe there is a good documentation somewhere, I didn't find it yet. 也许在某个地方有一个很好的文档,我还没有找到它。

bfd.cen is an object of type Benford, so you can get the documentation for the plot function that will be used by typing ?plot.Benford . bfd.cen是Benford类型的对象,因此您可以通过键入?plot.Benford来获取将用于绘图函数的文档。 There it describes except like this: 它描述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". 目前,您可以从7个图中选择:“数字”,“二阶”,“求和”,“尾数”,“卡方”,“abs差异”,“前求和”。 If you want to plot all, just put except = "none". 如果你想要绘制所有,只需将except =“none”。 The default is not to plot the "mantissa" and "abs diff". 默认情况下不绘制“尾数”和“abs diff”。

That is there are several different plot types and except specifies any that you might NOT plot. 这是有几种不同的绘图类型, except指定任何你可能没有绘制的。 Try plot(bfd.cen, except="none", multiple=T) to see all of the plot types. 尝试plot(bfd.cen, except="none", multiple=T)以查看所有绘图类型。

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

本福德的阴谋

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM