search for: varnew

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

Did you mean: xvarnew
2013 Jan 30
2
recoding variables again :(
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130130/7bc4cd37/attachment.pl>
2008 Sep 24
1
looping through variables
...typed once and can always be referred back to. First step would be to automate the vectorisation of the raster maps: # these are the raster maps which need to combined somehow ?? variables <- (temperature, precipitation, elevation, vegcover) VariablesNew=c() For (i in 1:length(variables)) { Varnew <- as.vector(variables[i]) VariablesNew <- cbind(VariablesNew, Varnew) } This should return a data frame called VariablesNew with each column representing one of the variables. So the BIG QUESTION is how to input the variable names that they can be referred to easily and, the variable it...