meanByClassHelper2 {dsBaseClient}R 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.


[Package dsBaseClient version 6.3.0 ]