R/setvec.R

Defines functions setvec

setvec <- function(n,x,alpha){
  for(k in 1:n){
    x[k] <- alpha
  }
  return(x)
}

Try the sdpt3r package in your browser

Any scripts or data that you put into this service are public.

sdpt3r documentation built on May 2, 2019, 4:19 a.m.