R6 Class Xtractor - How to Update Data"

Use case:


All features have been calculated:

xtractor$results

Let's change the dataset for the species virginica:

library(dplyr)
iris_vers = iris %>% filter(Species == "virginica")
iris_vers$Sepal.Length = abs(rnorm(nrow(iris_vers)))

Delete Old Data

Datasets are saved as RDS files (one file for each ID of the grouping variable). Single RDS files can be removed:

xtractor$remove_data("virginica")

Add New Data

xtractor$add_data(iris_vers, group_by = "Species")

Calculate Features

xtractor$calc_features()
xtractor$results
unlink("fxtract_files", recursive = TRUE)


Try the fxtract package in your browser

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

fxtract documentation built on July 8, 2020, 5:43 p.m.