.BG
.FN append
.FN replace
.TL
Data Merging
.CS
append(x, values, after)
replace(x, list, values)
.AG x
vector of data to be edited.  Missing values (`NA's) are
allowed.
.AG list
indices of the elements in `x' to be  replaced.
.AG values
vector of values to replace the list of elements, or to be
appended after the element given.  If `values' is shorter
than `list', it is reused cyclically.  Missing values (`NA's)
are allowed.
.AG after
index in `x' after which `values' are appended.  `after'=0
puts `values' at the beginning.
.RT
the edited vector, to be assigned back to `x', or used in
any other way.
Remember, unless the result is assigned back to `x', `x' will
not be changed.
.EX
	# replace x[3] with 1.5
x <- replace(x,3,1.5)
	# alternative: replaces x[3] with 1.5
x[3]<-1.5
	# append two values in x[7],x[8]
x <- append(x,c(3.4,5.7),6)
	# replace the four elements with 0
y <- replace(x,c(3,7,8,9),0)
.KW manip
.WR
