Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: glm
See also: log xlny

Quantlet: xlnxdy
Description: computes x.*log(x./y), with check for x=y=0, used for GLM macros.

Usage: l = xlnxdy(x,y)
Input:
x n x k matrix
y n x k matrix
Output:
l n x k matrix

Example:

library("glm")

x = 0|2

y = 0|1

xlnxdy(x,y)

Result:

Contents of l

[1,]     0 

[2,] 1.3863


Library: glm
See also: log xlny

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Marlene Mueller, 2000/05/18
(C) MD*TECH Method and Data Technologies, 21.9.2000