search for: newvar2

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

Did you mean: newvar
2012 Dec 18
2
Changing Variable Names In VCD
...mosaic plots in the vcd package? Should one do a separate contingency table first, change the dimension names there and then pass that to mosaic? Or is there a way to do it simply within mosaic. I was thinking something like: mosaic(~var1+var2, labelling_args=list(varnames=c('newvar1', 'newvar2')) Simon Kiss ********************************* Simon J. Kiss, PhD Assistant Professor, Wilfrid Laurier University 73 George Street Brantford, Ontario, Canada
2005 Aug 10
2
Creating new columns inside a loop
...d to loop through columns of data and create new columns of data based on calculations within rows... I'm sure there's a help file, but I'm not sure what search terms to use to find it! The problem is that these new columns need to have names that I can later access... Like NewVar1, NewVar2, etc.... In php I'd call this "indirection" but I'm not sure what to call it in R so that I can find instructions on how to create, name, and address the values stored this way... any gentle nudges in the right direction would be greatly appreciated! -- --------------------...