depth: Find depth of subnesting

View source: R/utilities.R

depthR Documentation

Find depth of subnesting

Description

Recursively determines how many max or min layers of subnesting there is, with the end object (defined by param sig or a list of length 0) being layer 0

Usage

depth(this, method = c("max", "min"), sig = "data.frame")

Arguments

this

object to evaluate

method

max (default) or min nesting to detect

sig

signature or class to check for. Default is 'data.frame'

Details

https://stackoverflow.com/questions/13432863/determine-level-of-nesting-in-r


drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.