put {multipol} | R Documentation |
Substitute a value for a variable
Description
Substitute a value for a variable and return a multipol of arity
d-1
Usage
put(a, i, value, keep = TRUE)
Arguments
a |
multipol |
i |
Dimension to substitute |
value |
value to substitute for |
keep |
Boolean with default |
Author(s)
Robin K. S. Hankin
See Also
Examples
a <- as.multipol(matrix(1:12,3,4))
put(a,1,pi)
put(a,2,pi)
b <- as.multipol(array(1:12,c(3,2,3)))
put(b,2,pi,TRUE)
put(b,2,pi,FALSE)
[Package multipol version 1.0-9 Index]