search for: test_set_nam

Displaying 2 results from an estimated 2 matches for "test_set_nam".

Did you mean: test_set_name
2017 Jul 20
2
dynamically create columns using a function
.... I have "expected_results", dataset, & functions pasted below to reproduce my problem and expected results. Any help will be greatly appreciate. # dataset dem<- structure(list(id = c("L1", "L2", "L3", "M1", "M2", "M3"), TEST_SET_NAME = c("A", "A", "A", "B", "B", "B"), YLD_BE_REG1 = c(1467L, 1455L, 1382L, 1463L, 1466L, 1455L), YLD_BE_REG2 = c(1501L, 1441L, 1421L, 1482L, 1457L, 1490L), IS_GG = c("NO", "NO", "YES", "NO", "NO&q...
2017 Jul 21
0
dynamically create columns using a function
...ge or what you are trying to do but to answer the main question "How to create columns dynamically using a function?" I would do something like that: # dataset dem <- structure(list(id = c("L1", "L2", "L3", "M1", "M2", "M3"), TEST_SET_NAME = c("A", "A", "A", "B", "B", "B"), YLD_BE_REG1 = c(1467L, 1455L, 1382L, 1463L, 1466L, 1455L), YLD_BE_REG2 = c(1501L, 1441L, 1421L, 1482L, 1457L, 1490L), IS_GG = c("NO", "NO", "YES", "NO", "NO&q...