z[_-,powerClass-method: Method for Function '[<-'

[<-,powerClass-methodR Documentation

Method for Function [<-

Description

Method for function [<- with
signature(x = "powerClass")

Arguments

x

the name of powerClass object.

i

the name of the slot of the object

j

picks up j-th element of the list in slot with name &i.

value

values to set

Details

Set method provides access to slots of powerClass object. Its structure delivered in powerClass-class index. Access to particular vectors of lists supplied with $ operator. For example, log-linear reg.coefficients estimates of smallest size data accessible by obj["estim", 1]$betas, errors can be obtained by analogue: obj["estim", 1]$errors. Power values extraction slightly differs: obj["power11", 1]&power extracts power values vector for 1st effect given 11th (largest) sample size. By analogue we get vector of z-scores for second effect given smallest sample size by obj["power1", 2]&z. It's hardly matter of practicality to employ set method but for programming purpose. See powerClass-class index.

Methods

signature(x = "powerClass", i = "character", j = "integer", value = "ANY")

Method for function [<- for object of S4 class powerClass.


ltable documentation built on Aug. 17, 2023, 1:06 a.m.