subs

0th

Percentile

Substitute values into a spray object

Substitute values into a spray object, interpreted as a multivariate polynomial

Keywords
symbolmath
Usage
subs(S, dims, x)
Arguments
S

spray object

dims

Integer or logical vector with entries corresponding to the dimensions to be substituted

x

Numeric vector of values to be substituted

Note

It is much easier if argument dims is sorted into increasing order. If not, caveat emptor!

See Also

process_dimensions

Aliases
  • subs
  • substitute
Examples
# NOT RUN {
S <- spray(matrix(sample(0:3,60,replace=TRUE),nrow=12))

subs(S,c(2,5),1:2)

subs(homog(3,3),1,3)
# }
Documentation reproduced from package spray, version 1.0-8, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.