ds.scale: Scaling of a server side data frame or numeric vector

View source: R/ds.scale.R

ds.scaleR Documentation

Scaling of a server side data frame or numeric vector

Description

Scales by dividing each variable by the standard deviation to have unitary variance

Usage

ds.scale(x, type = "combined", name = NULL, datasources = NULL)

Arguments

x

data.frame or numeric vector to be scaled

type

type (default "combined") the scaling is done with a pooled approach, using the standard deviation of the pooled data, if "split" the data will be scaled with the standard deviation of each server data

name

"character" (default NULL) If NULL, the original data frame will be overwritten, otherwise the scaled data frame will be assigned to a variable named after this argument

datasources

a list of DSConnection-class (default NULL) objects obtained after login

Value

This function does not have an output. It creates (or overwrites) a data frame on the study server.


isglobal-brge/dsMLClient documentation built on March 14, 2023, 1:59 p.m.