From 8484f97844c452f15e628d4369ebc3007be0b81e Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Mon, 24 Sep 2018 06:39:59 +0200 Subject: [PATCH] Improve noteworthy differences from R on ismissing (#29332) The R function is called is.na, and automatically works element-wise. --- doc/src/manual/noteworthy-differences.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/manual/noteworthy-differences.md b/doc/src/manual/noteworthy-differences.md index ad0ef240910a7..fb3d16616838e 100644 --- a/doc/src/manual/noteworthy-differences.md +++ b/doc/src/manual/noteworthy-differences.md @@ -182,7 +182,8 @@ For users coming to Julia from R, these are some noteworthy differences: * Julia does not support the `NULL` type. The closest equivalent is [`nothing`](@ref), but it behaves like a scalar value rather than like a list. Use `x === nothing` instead of `is.null(x)`. * In Julia, missing values are represented by the [`missing`](@ref) object rather than by `NA`. - Use [`ismissing(x)`](@ref) instead of `isna(x)`. The [`skipmissing`](@ref) function is generally + Use [`ismissing(x)`](@ref) (or `ismissing.(x)` for element-wise operation on vectors) instead of + `is.na(x)`. The [`skipmissing`](@ref) function is generally used instead of `na.rm=TRUE` (though in some particular cases functions take a `skipmissing` argument). * Julia lacks the equivalent of R's `assign` or `get`.