dssScale: Scale a dataframe

View source: R/dssScale.R

dssScaleR Documentation

Scale a dataframe

Description

execute base::scale() on the nodes

Usage

dssScale(
  symbol,
  what,
  center = TRUE,
  scale = TRUE,
  type = "combine",
  async = TRUE,
  datasources = NULL
)

Arguments

symbol

a character name of the new, scaled dataframe

what

a character name of the source dataframe

center

either a logical value or a numeric vector of length equal to the number of columns of "what"

scale

either a logical value or a numeric vector of length equal to the number of columns of "what"

type

a character, 'split' or 'combine'. If either center or scaled are set to TRUE it defines the scope for the means used for centering and/or standard deviations used for scaling. If 'combine', global values, calculated accross all nodes are used, in case of 'split' the node local values are used. Default 'combine'.

async

a logical, see datashield.aggregate

datasources

a list of opal objects obtained after logging into the opal servers (see datashield.login)


sib-swiss/dsSwissKnifeClient documentation built on July 16, 2025, 6:25 p.m.