At the step 3 for solving question 'Which cantons are neither mostly Protestant nor mostly Catholic?'
swiss$CatholicCat[swiss$CatholicCat=='(0,25]'] <- 'Protestant'
You used different kinds of bracket for ranging numbers, such as '(0,25]'.
I thought it could be typo but found you are right!!!
Why do we need to use this akward combination of different bracket? (] and quatation as well?
Best,
Casper
At the step 3 for solving question 'Which cantons are neither mostly Protestant nor mostly Catholic?'
swiss$CatholicCat[swiss$CatholicCat=='(0,25]'] <- 'Protestant'
You used different kinds of bracket for ranging numbers, such as '(0,25]'.
I thought it could be typo but found you are right!!!
Why do we need to use this akward combination of different bracket? (] and quatation as well?
Best,
Casper