Skip to content

Commit 5310bd6

Browse files
bkaminssimonbyrne
authored andcommitted
Language corrections in differences from R (#19350)
Following a comment to #19336 by @tkelman.
1 parent ec26f3c commit 5310bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual/noteworthy-differences.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ noteworthy differences:
143143
equivalent ``[1, 2, 3, 4] + [1, 2]`` will throw an error in Julia.
144144
- Julia's :func:`map` takes the function first, then its arguments, unlike
145145
``lapply(<structure>, function, ...)`` in R. Similarly Julia's equivalent of
146-
``apply(X, MARGIN, FUN, ...)`` in R is :func:`mapslices` where function is a
146+
``apply(X, MARGIN, FUN, ...)`` in R is :func:`mapslices` where the function is the
147147
first argument.
148148
- Multivariate apply in R, e.g. ``mapply(choose, 11:13, 1:3)``, can be written as
149149
``broadcast(binomial, 11:13, 1:3)`` in Julia. Equivalently Julia offers a shorter

0 commit comments

Comments
 (0)