Loss of water from the ECF compartment increases the sodium concentration, a condition called hypernatremia. Sodium ions are the major cation in the extracellular fluid (ECF) and as such are the major contributor to the ECF osmotic pressure and ECF compartment volume. Sodium is an essential element for all animals and some plants. Among many other useful sodium compounds, sodium hydroxide ( lye) is used in soap manufacture, and sodium chloride ( edible salt) is a de-icing agent and a nutrient for animals including humans. ![]() ![]() Sodium was first isolated by Humphry Davy in 1807 by the electrolysis of sodium hydroxide. Many salts of sodium are highly water-soluble: sodium ions have been leached by the action of water from the Earth's minerals over eons, and thus sodium and chlorine are the most common dissolved elements by weight in the oceans. Sodium is the sixth most abundant element in the Earth's crust and exists in numerous minerals such as feldspars, sodalite, and halite (NaCl). The free metal does not occur in nature and must be prepared from compounds. Sodium is an alkali metal, being in group 1 of the periodic table. It is a soft, silvery-white, highly reactive metal. On how methods can be tuned to deal with missing values.Sodium is a chemical element it has symbol Na (from Latin natrium) and atomic number 11. It calls any(is.na(x)) on objects withĬlasses and for recursive = FALSE, on lists and pairlists. The default method for anyNA handles atomic vectors without aĬlass and NULL. If the expression does not depend on the NA operand. TRUE/FALSE value, and so may return TRUE or FALSE Logical computations treat NA as a missing Involved, in which case either might result (which may depend on NA: a possible exception is where NaN is also Numerical computations using NA will normally result in It behaves differently for factors, for example. Methods to handle specific classes of objects, seeįunction is.na<- may provide a safer way to set missingness. Is.na and anyNA are generic: you can write String should use NA_character_ (rather than "NA") or set Programmers who need to specify an explicit missing The NA of character type is distinct from the string (no longer warning since R version 3.5.0). With the same dimensions as the data frame, and with dimnames takenįrom the row and column names of the data frame.ĪnyNA(NULL) is false is.na(NULL) is logical(0) The data frame method for is.na returns a logical matrix ![]() Method for the class of the element is ignored).ĪnyNA(recursive = FALSE) works the same way as is.na ĪnyNA(recursive = TRUE) applies anyNA (with method Regarded as NA or NaN (note that any is.na Is a length-one atomic vector and the single element of that vector is The default methods also work for lists and pairlists:įor is.na, elementwise the result is false unless that element (A complex value is regarded as NA if either itsĭim, dimnames and names attributes are copied to Numeric or complex vectors, NaN, and FALSE Returns a logical vector of the same length as its argument x,Ĭontaining TRUE for those elements marked NA or, for The default method for is.na applied to an atomic vector
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |