deg.rcag: Degree Calculation for Random Circular Graph

View source: R/deg.rcag.R

deg.rcagR Documentation

Degree Calculation for Random Circular Graph

Description

Computes the degree of each vertex in a Random Circular Graph based on input arcs.

Usage

deg.rcag(theta)

Arguments

theta

A numeric vector of length m=2*nv.

Value

A vector of degrees for each vertex of RCAG obtained using theta.

Examples

x <- arima.sim(model = list(ar=0.9), 1000) ## AR(1) model
theta <- ((2*atan(x))%%(2*pi))*(180/pi) ##LAR(1) model
deg.rcag(theta)

GTRT documentation built on Sept. 9, 2025, 5:38 p.m.