User Tools

Site Tools


missings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
missings [2018/10/15 09:42]
127.0.0.1 external edit
missings [2018/12/28 11:19] (current)
Line 5: Line 5:
  
 ```juliarepl ```juliarepl
-julia> pkgchk( [  "​julia"​ => v"1.0.1", "​BenchmarkTools"​ => v"​0.4.1",​ "​Missings"​ => v"​0.3.1"​ ] )+julia> pkgchk.( [  "​julia"​ => v"1.0.3", "​BenchmarkTools"​ => v"​0.4.1",​ "​Missings"​ => v"​0.3.1"​ ] );
 ``` ```
  
Line 13: Line 13:
 # Missings and NaN (IEEE) # Missings and NaN (IEEE)
  
-Missing is now part of the base language in julia 1.0.  The `missings.jl` package now offers some additional functionality,​ but is often not necessary.+Missing is now part of the base language in julia 1.0.  The `Missings.jl` package now offers some additional functionality,​ but is often not necessary.
  
 * `nothing` is the software engineer'​s concept: using it will often throw an error exception. * `nothing` is the software engineer'​s concept: using it will often throw an error exception.
Line 66: Line 66:
 Such generic missings are implemented via a `Union`, which means that the variable can hold either its type or a special value. ​ This is `missings` (lowercase) with a new type `Missings` (capitalized). ​ Existing types thus turn into broader `Union` types, which allow both for the original type values plus the new missing value. ​ A simple example of an integer type with a special missing value would be `Union{Int64,​ Missings.Missing}`. Such generic missings are implemented via a `Union`, which means that the variable can hold either its type or a special value. ​ This is `missings` (lowercase) with a new type `Missings` (capitalized). ​ Existing types thus turn into broader `Union` types, which allow both for the original type values plus the new missing value. ​ A simple example of an integer type with a special missing value would be `Union{Int64,​ Missings.Missing}`.
  
-Read also the [[functions#​allowing_missing_in_arguments|Functions]] chapter for examples of how to handle missing and NaN in function arguments.+Read also the [[fundispatch#​allowing_missing_in_arguments|Functions]] chapter for examples of how to handle missing and NaN in function arguments.
  
  
Line 289: Line 289:
 ## Functions Working With NaN for Floats and Missing for Non-Floats ## Functions Working With NaN for Floats and Missing for Non-Floats
  
-See also the chapter on [[functions#​allowing_missing_in_arguments|Functions]].+See also the chapter on [[fundispatch#​allowing_missing_in_arguments|Functions]].
  
  
missings.txt ยท Last modified: 2018/12/28 11:19 (external edit)