You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The odd bracket denominations are from the command 'cut' that I use to create the different categories. If you run the cut command and immediately afterwards 'head(df$var)', then it'll show you.
The comma afterwards is to separate arguments for row and column. I'll talk about this tomorrow for a bit. But for now: it chooses row 4, 45, 46, and 47 for all columns (if you do not specify anything after the comma, then the default is to use all columns).
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
The text was updated successfully, but these errors were encountered: