R/rm.na.R

Defines functions rm.na

Documented in rm.na

#*********************************************
#*********************************************
#' Removing NAs, returning a vector. Not used since na.omit() serves the same purpose.
#'
#' @param x  Input object.
#'
#' @return
#'
#' @examples
#' \dontrun{}
#'
#' @export
#' @rdname rm.na
#'
rm.na<-function(x){
	
	############ AUTHOR(S): ############
	# Arne Johannes Holmin
	############ LANGUAGE: #############
	# English
	############### LOG: ###############
	# Start: 2008-11-13 - Clean version.
	########### DESCRIPTION: ###########
	# Removing NAs, returning a vector. Not used since na.omit() serves the same purpose.
	########## DEPENDENCIES: ###########
	#
	############ VARIABLES: ############
	# ---x--- Input object.
	
	
	##################################################
	##################################################
	x[!is.na(x)]
	##################################################
	##################################################
	}
arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.