parse_freq: Output Variable Frequencies in Nested Lists

Description Usage Arguments Author(s) See Also Examples

Description

Parser to illustrate a possible output of accest. The function loop other lists of list and retrieve the frequency of the variable names contained in the component labelled nam.

Usage

1
parse_freq(mlist,nam,sorting=TRUE)

Arguments

mlist

List of list

nam

Name of the component of interest

sorting

Should the variable name be sorted by frequency?

Author(s)

David Enot dle@aber.ac.uk

See Also

accest, parse_vec

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
l1=list(list(v=1),list(v=c(1,2)),list(v=1))
l2=list(list(v=c(1,2,3)),list(v=2),list(v=c(3,4)))
res=list(l1,l2)

## show list of list
print(res)

## tidy up
parse_freq(res,nam="v")

######## Second example
## Real world problem described in accest

tonedivad/FIEmspro documentation built on May 31, 2019, 6:20 p.m.