search for: var_2

Displaying 8 results from an estimated 8 matches for "var_2".

Did you mean: var2
2012 Jun 28
4
Printing a variable in a loop
Dear R Users: I'm a STATA user converting to R, and I'd like to be to do the following. #Assign var_1 and var_2 a value 10->var1 20->var2 #Now I'd like to print the values of var_1 and var_2 by looping through var_1 and var_2 in such a manner: while(y<3){ print(var_y) y+1->y } In STATA, the "y" appended to " var_" is called the local variable and the code would look l...
2018 Oct 16
2
Comprobar los nombres de columnas entre varios dataframes
Buenas tardes, Quiero aplicar la función rbind y necesito tener los mismos nombres de columnas. Como tengo unas 195 variables en cada dataframe, necesito hacerlo de una forma rápida. Tengo 9 bases de datos y tengo que fusionar todas. ¿Como puedo comprobar que los nombres de las variables son los mismos? Y de lo contrario, ¿como detecto las diferencias? He probado con
2010 May 20
2
multiple 2 by 2 crosstabulations?
Hello, I have a dataframe (var_1, var_2, ..., var_n) and I would like to export summary statistics to Latex in the form of a table. I want specific summary statistics by crossing numerous variables 2x2 AT ONCE. In each cell I would like sometimes to have the median (Q1 - Q3), or frequency and proportion, etc. CrossTable, xtab, etc... do...
2013 May 15
4
series financieras
Buenos dias, Tengo la siguiente duda. Desde una hoja de calculo .xls me descargo un fichero en r as.matrix. Time VAR_2 VAR_3 VAR_4........ VAR_N Fechas(n) Precios Precios Precios Precios Fechas (n-1) ¿como puedo hacer para graficar de forma ordenada (fechas) cada uno del vector columnas (son precios de activos)? [[alternative HTML version deleted]]
2008 Apr 15
1
glm syntax question
...do two things: (1) I need to be able to have my list of variables in the regression be based from a variable vector instead of hard code. (2) I need to be able to collect the significant variables from the output of the regression in a vector. As example code consider: out <- glm(Var_0~Var_1+Var_2, family=binomial(link=logit), data=MyData) and if I then execute summary(out) I get a summary of the output including a table Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -2.92995 0.08731 -33.558 < 2e-16 *** Var_1 1.39244 0.10979 12.683 < 2e-16...
2011 Jan 20
2
Accessing a 'user' variable via. dialplan.
Hi, I know you can access various sip variables via 'Set(sstatus=${SIPPEER(201,status)})' (for example) to get the status of the sip user - but what about variables? I have a user that has setvar=123456 in their users.conf (sip.conf if you prefer). I can read it with a 'sip show peer 201' - but that gives everything and parsing that isn't really an option. Anyone know how
2006 Sep 21
2
delete a entire vector of a dataframe
delete a entire vector of a dataframe Hello, i want to delete a vector and tried "rm (t.d$V712)". This did not work, message was, could not find variable. I thought the $ defines the vectro in a dataframe, when I just type "t.d$V712" the content of this vector is displayed. Greetings, Thomas
2005 Mar 29
6
Aggregating data (with more than one function)
I have the data similar to the following in a data frame: LastName Department Salary 1 Johnson IT 56000 2 James HR 54223 3 Howe Finance 80000 4 Jones Finance 82000 5 Norwood IT 67000 6 Benson Sales 76000 7 Smith Sales 65778 8 Baker HR 56778 9 Dempsey HR 78999 10 Nolan