Description Usage Arguments Value
attach fped
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | attach_fped(
data,
years,
day = c("1", "2"),
dietary = c("tot", "iff"),
version = c("2015", "2010"),
fun = c("sum", "mean"),
f_citmlb = FALSE,
f_other = FALSE,
f_whole = FALSE,
f_juice = FALSE,
f_total = FALSE,
v_drkgr = FALSE,
v_redor_tomato = FALSE,
v_redor_other = FALSE,
v_redor_total = FALSE,
v_starchy_potato = FALSE,
v_starchy_other = FALSE,
v_starchy_total = FALSE,
v_other = FALSE,
v_total = FALSE,
v_legumes = FALSE,
g_whole = FALSE,
g_refined = FALSE,
g_total = FALSE,
d_milk = FALSE,
d_yogurt = FALSE,
d_cheese = FALSE,
d_total = FALSE,
pf_meat = FALSE,
pf_curedmeat = FALSE,
pf_organ = FALSE,
pf_poult = FALSE,
pf_seafd_hi = FALSE,
pf_seafd_low = FALSE,
pf_mps_total = FALSE,
pf_eggs = FALSE,
pf_soy = FALSE,
pf_nutsds = FALSE,
pf_legumes = FALSE,
pf_total = FALSE,
add_sugars = FALSE,
oils = FALSE,
solid_fats = FALSE,
a_drinks = FALSE,
seaplant = FALSE,
addsugc = FALSE,
solfatc = FALSE,
vtotalleg = FALSE,
vdrkgrleg = FALSE,
pfallprotleg = FALSE,
pfseaplantleg = FALSE,
Year = FALSE
)
|
data |
data |
years |
years |
day |
day =1 or day = 2 or day = c(1,2) |
dietary |
tot or iff |
version |
2015(default) or 2010 |
fun |
sum(default) or mean |
f_citmlb |
(2010, 2015) logical |
f_other |
(2010, 2015) logical |
f_whole |
(2010, 2015) logical |
f_juice |
(2010, 2015) logical |
f_total |
(2010, 2015) logical |
v_drkgr |
(2010, 2015) logical |
v_redor_tomato |
(2010, 2015) logical |
v_redor_other |
(2010, 2015) logical |
v_redor_total |
(2010, 2015) logical |
v_starchy_potato |
(2010, 2015) logical |
v_starchy_other |
(2010, 2015) logical |
v_starchy_total |
(2010, 2015) logical |
v_other |
(2010, 2015) logical |
v_total |
(2010, 2015) logical |
v_legumes |
(2010, 2015) logical |
g_whole |
(2010, 2015) logical |
g_refined |
(2010, 2015) logical |
g_total |
(2010, 2015) logical |
d_milk |
(2010, 2015) logical |
d_yogurt |
(2010, 2015) logical |
d_cheese |
(2010, 2015) logical |
d_total |
(2010, 2015) logical |
pf_meat |
(2010, 2015) logical |
pf_curedmeat |
(2010, 2015) logical |
pf_organ |
(2010, 2015) logical |
pf_poult |
(2010, 2015) logical |
pf_seafd_hi |
(2010, 2015) logical |
pf_seafd_low |
(2010, 2015) logical |
pf_mps_total |
(2010, 2015) logical |
pf_eggs |
(2010, 2015) logical |
pf_soy |
(2010, 2015) logical |
pf_nutsds |
(2010, 2015) logical |
pf_legumes |
(2010, 2015) logical |
pf_total |
(2010, 2015) logical |
add_sugars |
(2010, 2015) logical |
oils |
(2010, 2015) logical |
solid_fats |
(2010, 2015) logical |
a_drinks |
(2010, 2015) logical |
seaplant |
(2010) logical |
addsugc |
(2010) logical |
solfatc |
(2010) logical |
vtotalleg |
(2015) logical |
vdrkgrleg |
(2015) logical |
pfallprotleg |
(2015) logical |
pfseaplantleg |
(2015) logical |
Year |
logical |
fped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.