tatami_stats
Matrix statistics for tatami
Loading...
Searching...
No Matches
tatami_stats::GroupRssResult< Output_, Count_ > Struct Template Reference

Results of group_rss(). More...

#include <group_rss.hpp>

Public Attributes

std::vector< std::vector< Output_ > > mean
 
std::vector< std::vector< Output_ > > rss
 
std::vector< Count_ > count
 

Detailed Description

template<typename Output_, typename Count_>
struct tatami_stats::GroupRssResult< Output_, Count_ >

Results of group_rss().

Template Parameters
Output_Floating-point type of the output data. This should be capable of storing NaNs.
Count_Numeric type of the group sizes, typically integer.

Member Data Documentation

◆ mean

template<typename Output_ , typename Count_ >
std::vector<std::vector<Output_> > tatami_stats::GroupRssResult< Output_, Count_ >::mean

Vector of length equal to the number of groups. Each element is a vector of length equal to the appropriate dimension extent (rows for row = true, columns otherwise), containing the sample mean of each row/column.

◆ rss

template<typename Output_ , typename Count_ >
std::vector<std::vector<Output_> > tatami_stats::GroupRssResult< Output_, Count_ >::rss

Vector of length equal to the number of groups. Each element is a vector of length equal to the appropriate dimension extent (rows for row = true, columns otherwise), containing the residual sum of squares of each row/column.

◆ count

template<typename Output_ , typename Count_ >
std::vector<Count_> tatami_stats::GroupRssResult< Output_, Count_ >::count

Vector of length equal to the number of groups, containing the number of observations in each group.


The documentation for this struct was generated from the following file: