This may be a basic question, but I want to calculate the average bond wealth for seniors aged 65-74, and only for those with bonds (>0) and eliminate no replies (which is signaled by the 9999...).
mean(Bonds[Age>64 & Age<75 & Bonds>0 & Bonds<999999999999])
I'm getting an error message: longer object length is not a multiple of shorter object length
What am I doing wrong?