Learn R Programming

PhylogeneticEM (version 1.0.0)

add_complementary: Add several entries, when only one is not NA.

Description

add_complementary return the only non NA value of a given vector.

Usage

add_complementary(z)

Arguments

z
a vector containing at most only one non-NA value.

Value

row vector of the same size as entry matrix.

Details

This function is used in function merge_complementary_vectors