Skip to content

Commit 261a8f8

Browse files
authored
Fix typo in 01-08-Functions
1 parent ba6ec53 commit 261a8f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Module01/01-08-Functions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"source": [
135135
"g = function(x){\n",
136136
" ## Use vectorized ifelse to return the value or the missing value, NA\n",
137-
" ifelse(x != 0,(12.2*x)^2, NA)\n",
137+
" ifelse(x != 0,(12/(2*x))^2, NA)\n",
138138
"}\n",
139139
"\n",
140140
"## Construct the data frame.\n",

0 commit comments

Comments
 (0)