power.f: Calculates Power given a relvance table object.

View source: R/2_study-fn.R

power.fR Documentation

Calculates Power given a relvance table object.

Description

Calculates Power given a relvance table object.

Usage

power.f(x, std.effect, threshold, family)

Arguments

x

predictor values. either vector or matrxi. not sure if matrix works for all cases.

std.effect

is the standardised effect. Only binom regression allows for intercept

threshold

relevance threshold

family

either gaussian or binomial

Value

power estimate based on 1000 simulation

Author(s)

Stefan Thoma


StefanThoma/ReplicationRelevance documentation built on Feb. 6, 2023, 4:03 a.m.