meanByClassHelper0a {dsBaseClient}R Documentation

Computes the mean values of a numeric vector across a factor vector

Description

This is an internal function.

Usage

meanByClassHelper0a(a, b, type, datasources)

Arguments

a

a character, the name of a numeric vector.

b

a character, the name of a factor vector.

type

a character which represents the type of analysis to carry out. If type is set to 'combine', a pooled table of results is generated. If type is set to 'split', a table of results is genrated for each study.

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as dataframe, from opal datasources.

Details

This function is called by the function 'ds.meanByClass' to produce the final tables if the user specifies two loose vectors.

Value

a table or a list of tables that hold the length of the numeric variable and its mean and standard deviation in each subgroup (subset).

Author(s)

Gaye, A.


[Package dsBaseClient version 4.1.0 ]