#'
#' @title Creates a vector on the server-side.
#' @description This function is similar to R function \code{c}.
#' @details The function computes the vectors values.
#' @param ... parameter to be used to form the vector.
#' @return the object specified by the \code{newobj} argument
#' which is written to the server-side.
#' @author Stuart Wheater for DataSHIELD Development Team
#' @export
#'
vectorDS <- function(...){
# Check Permissive Privacy Control Level.
dsBase::checkPermissivePrivacyControlLevel(c('permissive', 'banana'))
# compute the vector's value
out <- c(...)
# assign the outcome to the data servers
return(out)
}
# ASSIGN FUNCTION
# vectorDS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.