Rdocumentation
powered by
Learn R Programming
lgcp (version 1.3-3)
smultiply.list: smultiply.list function
Description
This function multiplies each element of a list by a scalar constant.
Usage
smultiply.list(list, const)
Arguments
list
a list of objects that could be summed using "+"
const
a numeric constant
Value
a list with ith entry the scalar multiple of const * list[[i]]