meanByClassHelper2: Generates a table for pooled results

View source: R/meanByClassHelper2.R

meanByClassHelper2R Documentation

Generates a table for pooled results

Description

This is an internal function.

Usage

meanByClassHelper2(dtsources, tablenames, variables, invalidrecorder)

Arguments

dtsources

a list of DSConnection-class objects obtained after login. If the <datasources> the default set of connections will be used: see datashield.connections_default.

tablenames

a character vector, the name of the subset tables

variables

a character vector, the names of the continuous variables to computes a mean for.

invalidrecorder

a list, holds informations about invalid subsets in each study.

Details

This function is called by the function 'ds.meanByClass' to produce the final table if the user sets the parmater 'type' to combine (the default behaviour of 'ds.meanByClass').

Value

a matrix, a table which contains the length, mean and standard deviation of each of the specified 'variables' in each subset table.

Author(s)

Gaye, A.


datashield/dsBaseClient documentation built on May 16, 2023, 10:19 p.m.