Displaying 4 results from an estimated 4 matches for "gioxc".
Did you mean:
gio
2012 Oct 31
3
Mean Help
I have a dataframe.
Let's suppose that i have two columns. The first one contains height, the
second one contains eye color that can be Green, Blue or Brown.
I want to calculate the aritmetic mean of the height only for those people
who have Blue eyes. How can I do it?
Thank you for your availability.
--
View this message in context: http://r.789695.n4.nabble.com/Mean-Help-tp4648000.html
2012 Nov 26
3
How to count the number of different elements in a column
Hello,
Suppose that i have a dataframe
a <- read.dta("banca_impresa.dta")
i have a column with 17900 obs like
1
2
3
1
6
7
8
3
4
4
and i want to know the number of the different values so in this case it
would be 7
How can i do?
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/How-to-count-the-number-of-different-elements-in-a-column-tp4650825.html
Sent
2012 Oct 31
1
Problem Installing Packages
I run R as administrator but when i try to install packages i get this
message:
> install.packages()
Warning in install.packages :
apertura non riuscita: stato HTTP '403 Forbidden'
Warning in install.packages :
apertura non riuscita: stato HTTP '403 Forbidden'
Warning in install.packages :
unable to access index for repository
2012 Dec 03
2
How to rename the columns of as.table
Hello guys .. I would like to have some help about as.table .
I made a table with the autocorrelations of the returns whit 10 lags and i
get this :
autocorrelazione2 <- as.table(c((cor(r2[-1151,],lag(r2))),(cor(r2[-
c(1151,1150),],lag(r2, k=2))),(cor(r2[- c(1151,1150,1149),],lag(r2,
k=3))),(cor(r2[- c(1151,1150,1149,1148),],lag(r2, k=4))),(cor(r2[-
c(1151,1150,1149,1148,1147),],lag(r2,