get_cellXXmarginscount: Get the number of margins for a cell

Description Usage Arguments Details Value Examples

View source: R/syn2.R

Description

Get the number of margins for a cell

Usage

1

Arguments

x

a vector of character strings

iscell

a boolean indicating if x is a variable name or a cell name.

Details

if x is "aa.xoijj_a_1_f_1", cell=FALSE returns 4"; if x is "a_1_f_1", cell=TRUE returns 4"

Value

a vector of integers.

Examples

1
2
3
4
5
6
7
get_cellXXmarginscount("1_2_3_4",iscellXX=TRUE)
get_cellXXmarginscount("aa.x_1_2_3_4",iscellXX=FALSE)
data(TtableA)
unique(get_cellXXmarginscount(names(TtableA),iscellXX=FALSE))
#Second example: no transposing variables
TK<-Tsampledata(FALSE)
unique(get_cellXXmarginscount(TK$variables))

DanielBonnery/BigSyn documentation built on June 28, 2020, 7:18 p.m.