Mutate new columns into variable_info

mutate2variable(
  object,
  what = c("mean_intensity", "median_intensity", "sum_intensity", "na_number", "na_prop"),
  according_to_samples = "all",
  ...
)

# S3 method for wearable_dataset
mutate2variable(
  object,
  what = c("mean_intensity", "median_intensity", "sum_intensity", "na_number", "na_prop"),
  according_to_samples = "all",
  ...
)

Arguments

object

wearable_dataset

what

which you want to mutate

according_to_samples

(required) What samples used to calculate. Default is "all". If you want to use only several samples, provide their names as a vector.

...

other params

Value

wearable_dataset or data.frame.