node_perm: Node permutation test

Description Usage Arguments Examples

View source: R/node_perm.R

Description

This function creates a random or semi-random walk bounded by a maximum distance from the starting position.

Usage

1
node_perm(mod, nperm = 1000, offset = NA, plot = TRUE, export = FALSE)

Arguments

mod

generalized linear model

nperm

number of shuffles

offset

names of offset variable to shuffle with response if present

plot

default TRUE, to plot the distribution of random betas

Examples

1

vjf2/SocGen documentation built on April 24, 2021, 10:59 a.m.