Description Usage Arguments Value Examples
Import a predx
-formatted CSV file as a predx
data frame
1 | import_csv(file = NULL)
|
file |
A csv file/path *or* a data.frame object. Either should have a |
colClasses |
optional. Can be specified folling |
A predx
data frame.
1 2 3 4 5 6 7 8 | #' predx_demo <- as.predx_df(list(
location = c('Mercury', 'Venus', 'Earth'),
target = 'habitability',
predx = list(Binary(1e-4), Binary(1e-4), Binary(1))
))
csv_tempfile <- tempfile()
export_csv(predx_demo, csv_tempfile)
import_csv(csv_tempfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.