Displaying 3 results from an estimated 3 matches for "doesn'work".
2008 Nov 15
3
I want my row name to be a variable
...here a way to create a new variable in this data frame
which name is Var3 and which contains the rows names:
Var1 Var2 Var3
A 22 13 A
B 5 2 B
C 12 8 C
D 1 99 D
I tried as.data.frame(array(x, dim(x), dimnames(x)))
but it doesn'work
Sincerely yours
--
View this message in context: http://www.nabble.com/I-want-my-row-name-to-be-a-variable-tp20520180p20520180.html
Sent from the R help mailing list archive at Nabble.com.
2008 Nov 16
1
Are you sure a table can become a data.frame?
...B H
5 C L
Y<-table(X$Var1,X$Var2) Y is a cross table between Var1 and Var2
I want Y to become a data
frame
Y
H K L
A 2 0 0
B 1 1 0
C 0 0 1
Z<-as.data.frame(Y) I want Y to become a data frame: it
doesn't work
Z
Var1 Var2 Freq
1 A H 2
2 B H 1
3 C H 0
4 A K 0
5 B K 1
6 C K 0
7 A L 0
8 B L 0
9 C L 1
I expect Z as following data frame
Z
H K L
A 2 0 0
B 1 1 0
C 0 0 1
I tried as.data.frame(array(x, dim(x), di...
2009 Jun 17
3
quota.
...quota_rule2 = Trash:storage=10%%
quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80.
For some accounts the quota limit works well.
When I send mail I receive a rejected mail for quota exceeded.
For some other accounts it doesn'work despite they have passed the 50M
storage limit.
Why?