getN: Get number of data specified by 'name' and 'desc'

View source: R/getInteraction.R

getNR Documentation

Get number of data specified by 'name' and 'desc'

Description

Get number of data specified by 'name' and 'desc'

Usage

getN(name, desc, data)

Arguments

name

a string with interaction term

desc

character

data

a data.frame

Value

A numeric vector

Examples

data(acs,package="moonBook")
df=getInteraction("TC:Dx:sex",data=acs)
getN(name=df$name,desc=df$desc,data=acs)

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.