search for: _named_

Displaying 3 results from an estimated 3 matches for "_named_".

Did you mean: _name_
2015 Apr 29
2
dimnames returned by function apply
Dear all, I noticed that the dimnames returned by apply are different in the new release. In the following example. The returned row-names are c(?S?,?T?), but shouldn?t they be c(?X?,?Y?) as in the old release? Best, Bernd >X = array(1:8, dim=c(4,2)) >dimnames(X) = list(c("A","B","C","D"),c("S","T")) >apply(X, 1, function(x)
2015 Apr 30
0
dimnames returned by function apply
...R. I'm almost sure it is my fault, and I'm going to look into fixing it! For the curious ones: It was introduced with the following new feature (which implied fixing apply()'s treatment of named dimnames): ? apply(m, 2, identity) is now the same as the matrix m when it has _named_ row names. > Best, > Bernd Thank you, Bernd, for the report! Martin Maechler, ETH Zurich >> X = array(1:8, dim=c(4,2)) >> dimnames(X) = list(c("A","B","C","D"),c("S","T")) >> apply(X, 1, fun...
2003 Aug 05
1
error message in fitdistr
Hi R lovers Here is a numerical vector test > test [1] 206 53 124 112 92 77 118 75 48 176 90 74 107 126 99 84 114 147 99 114 99 84 99 99 99 99 99 104 1 159 100 53 [33] 132 82 85 106 136 99 110 82 99 99 89 107 99 68 130 99 99 110 99 95 153 93 136 51 103 95 99 72 99 50 110 37 [65] 102 104 92 90 94 99 76 81 109 91 98 96 104 104 93 99 125 89