I would like to use a string as argument of a function in order to use this string for the plotting of the result, but R plots the argument variable name instead of its string value.
I tried different solutions (diparse, as.character...) but still no solution. Do you have any idea?

mcnemar_test &lt;- function (c1,c2,class1, class2)
{
    name1=label(class1)
    name2=deparse(substitute(class2))

    v1 = c1$encerts
    v2 = c2$encerts

    e00 = sum(ifelse(v1+v2==0,1,0)) #bad classification for both
    e01 = sum(ifelse(v1&lt;v2,1,0)) #bad classification for 1
    e10 = sum(ifelse(v1&gt;v2,1,0)) #bad classification for 2
    e11 = sum(ifelse(v1+v2==2,1,0)) #good classification for both

    matriu &lt;- matrix(c(e00,e01,e10,e11),nrow = 2, 
        dimnames = list(name1 = c("Disapprove", "Approve"),
                       name2 = c("Disapprove", "Approve")))
    print (matriu)
    t &lt;- mcnemar.test(matriu)
    return (t)
}
mcnemar_test(classifiers.NaiveBayes,classifiers.CART,"aa","bb")


I would like to see "aa" and "bb" but see "name1 and name2


Question: How can a flag be helpful without any action taken?
Answer: Duplicate flags are flags to 3k+ users (as are all closure flags). But it requires at least 5 such users to vote to close. 

Such a flag is marked helpful as soon as one duplicate vote is recieved. However, in this case that vote seems to have aged away without the question being closed as there are currently no close votes on the question.

All the reasons when a flag can be marked as helpful without an action being taken are outlined in the question: Why does flag marking as helpful/declined not always correlate with moderator action?. In this case it was:


  Another user voted to close the flagged question if your flag was a
  recommend closure flag. This will mark your flag as helpful, but if
  you can't see close votes it will appear that nothing has happened
  until the question is actually closed.