Description Usage Arguments Value Examples
Code to build a query for sciDB call from the given vector input. formulate_build_literal_query is a function that can be used to create an input query for the AFL
1 2 | formulate_build_literal_query(vec, value_name = "value_id",
index_name = "idx")
|
vec |
a vector |
value_name |
(optional) a name for the value to be given in the query string, by default it is value_id |
index_name |
(optional) a default name for the index parameter in the scidb query , by default it is idx |
a string to use as the input query for scidb
1 2 3 4 5 | formulate_build_literal_query(c(1,2,3,4))
[1] "build(<value_id:int64>[idx=0:3], '[1,2,3,4]', true)"
formulate_build_literal_query(c(1:5,8:10))
[1] "build(<value_id:int64>[idx=0:7], '[1,2,3,4,5,8,9,10]', true)"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.