ds.center: Centering of a data frame on the study server

View source: R/ds.center.R

ds.centerR Documentation

Centering of a data frame on the study server

Description

Centers each column of a data frame object by substracting the mean of the column

Usage

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

Arguments

x

character Name of the data frame (or numeric vector, table$column) on the study server to be centered

type

type (default "combined") the centering is done with a pooled approach, using the mean of the pooled data, if "split" the data will be centered with the mean of each server data

name

"character" (default NULL) If NULL, the original data frame will be overwritten, otherwise the centered 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.