对一个数据集,summary之后,数据集的age中有60+,打算用barplot求条状图,所以education_age=with(IncomeESL,c(sum(education[with(age=="14-17")]),
sum(education[with(age=="18-24")]),
sum(education[with(age=="25-34")]),
sum(education[with(age=="35-44")]),
sum(education[with(age=="45-54")]),
sum(education[with(age=="55-64")]),
sum(education[with(age=="65+")])))之后,系统说> sum(education[with(age=="65+")])))
Error: unexpected ')' in "sum(education[with(age=="65+")]))"
该怎么办呀?