Description Usage Arguments Details Value See Also Examples
View source: R/create_population.R
Create a new population by uploading data and a schema.
1 | create_population(sess, data, name)
|
sess |
an |
data |
a data frame containing the data to build models from |
name |
a length-one character naming the population |
This function derives a population schema from data
, uploads the data
and schema, and creates a new remote population object. You can optionally
use functions like stat_type<-
and display_name<-
on columns of the data frame before calling create_population
if you
want to give it hints about what the schema should be.
A new EDP population object. If you print it or cast it to character, you can
get an id that will let you get the object back later with
population
.
edp_session
, population
,
delete_population
, stat_type
,
display_name
, identifying
1 2 3 4 | d <- data.frame(x = c(1, 2, 3, 4, 5))
display_name(d$x) <- "X!"
stat_type(d$x) <- "realMultiplicative"
## Not run: pop <- create_population(sess, d, "my population")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.