ds.exposome_scale_exposures: Scale ExposomeSet

View source: R/ds.exposome_scale_exposures.R

ds.exposome_scale_exposuresR Documentation

Scale ExposomeSet

Description

Scales the exposures of an ExposomeSet object: centering by mean and scaling dividing by the standard deviation.

Usage

ds.exposome_scale_exposures(
  Set,
  method = "combined",
  new.obj = NULL,
  datasources = NULL
)

Arguments

Set

character Name of the ExposomeSet to scale.

method

character (default "combined") If "combined" the scaling will be pooled (using the pooled mean and standard deviation), if "split" the scaling will be performed individually on each study server.

new.obj

character (default NULL) Name that will take the scaled ExposomeSet. If NULL the name "exposomeSet_scaled" will be used.

datasources

datasources a list of DSConnection-class objects obtained after login

Value

This function does not have an output. It creates a object on the study server named.

Examples

## Not run: Refer to the package Vignette for examples.

isglobal-brge/dsExposomeClient documentation built on March 5, 2024, 12:26 p.m.