I have a simple question about the barplot function. I have a TRUE/FALSE table like this:
print(a)
FALSE TRUE
35517 1160
Now I want to create a barplot with one column (so length for that column is then 36677). In the column 2 colors must contain the TRUE/FALSE condition. Is that simple to do that?
I thought something like: barplot(a, beside=FALSE) But than i create 2 columns beside each other.
thanks!
then specify
aas a matrix: