Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

An incomplete list of some of the functions in DataSHIELD packages is given below:

Functions in the package 'dsBaseClient'

Function name

Description

ds.asCharacter

Turns a vector into character type vector

ds.asFactor

Turns a numeric vector into factor type

ds.asList

Constructs an object of type list

ds.asMatrix

Attempts to turn its argument into a matrix

ds.asNumeric

Turns a vector into numerical type

ds.assign

Assigns an object to a name in the server side

ds.c

Combines values into a vector or list

ds.cbind

Combines objects by columns

ds.changeRefGroup

Changes the reference level of a factor

ds.class

Retrieves the class of an object

ds.colnames

Retrieves column names of a matrix-like object

ds.dataframe

Creates data frames

ds.dim

Retrieves the dimension of an object

ds.exists

Checks if an object is defined on the server side

ds.exp

Exponentiates the values of a vector

ds.isNA

Checks if a vector is empty

ds.isValid

Checks if an object is valid

ds.length

Gets the length of a vector or list

ds.levels

Returns the levels attribute of a factor

ds.list

Function to construct a list object

ds.log

Computes logarithms, by default natural logarithms

ds.mean

Computes the statistical mean of a given vector

ds.meanByClass

Computes the mean and standard deviation across categories

ds.names

Gets the names of items in a list

ds.quantileMean

Compute the quantiles

ds.recodeLevels

Recodes the levels of a factor vector

ds.rowColCalc

Computes sums and means of rows or columns of numeric a matrix or data frame

ds.subclass

Generates valid subset(s) of a data frame or a factor

ds.subset

Generates a valid subset of a table or a vector

ds.summary

Generates the summary of an object

ds.table1D

Generates 1-dimensional contingency tables

ds.table2D

Generates 2-dimensional contingency tables

ds.vectorCalc

Performs a mathematical operation on two or more vectors

Functions in the package 'dsStatsClient'

Function name

Description

ds.cor

Computes the correlation between two or more vectors

ds.corTest

Tests for correlation between paired samples

ds.cov

Computes covariance between two or more vectors

ds.tTest

Runs a student's t-test

ds.var

Computes the variance of a given vector

Functions in the package 'dsGraphicsClient'

Function name

Description

ds.contourPlot

Generates a contour plot

ds.densityGrid

Generates a density grid with or without a priori defined limits

ds.heatmapPlot

Generates a heatmap plot

ds.histogram

Generates a histogram plot

Functions in the package 'dsModellingClient'

Function name

Description

ds.gee

Fits a Generalized Estimating Equation (GEE) model

ds.glm

Fits a Generalized Linear Model (GLM) model

  • No labels