Statistic: Statistic class

StatisticR Documentation

Statistic class

Description

Statistic class

Statistic class

Details

Definition for the Statistic class.

Public fields

name

character value.

value

numeric value

units

character value.

proportion

numeric value

Methods

Public methods


Method new()

Create a Statistic object.

Usage
Statistic$new(name, value, units, proportion)
Arguments
name

character value.

value

numeric value

units

character value.

proportion

numeric value.

Returns

A Statistic object.


Method print()

Print the object.

Usage
Statistic$print(...)
Arguments
...

not used.


Method repr()

Generate a character summarizing the representation of the object.

Usage
Statistic$repr(...)
Arguments
...

not used.

Returns

character value.


Method get_widget_data()

Get widget data.

Usage
Statistic$get_widget_data()
Returns

list object.


Method get_results_data()

Get results data.

Usage
Statistic$get_results_data()
Returns

data.frame object.


Method clone()

The objects of this class are cloneable with this method.

Usage
Statistic$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

new_statistic().


NCC-CNC/wheretowork documentation built on Feb. 27, 2025, 6:11 p.m.