Displaying 3 results from an estimated 3 matches for "split_type".
2012 Sep 26
1
Change in order of names after applying "plyr" package
..., .variables = "security_id", .fun = function(x)
mc_VaR(ason_date = x$ason_date, security_id = x$security_id,
security_rate = x$security_rate))
> result_method_other
$AB
[1] 0.2657424
$AD
[1] 0.212061
$Air
[1] 6.789733
attr(,"split_type")
[1] "data.frame"
attr(,"split_labels")
security_id
1 AB
2 AD
3 Air
MY PROBLEM :
My original data (i.e. equity_data) has the order of "Air", "AB" and "AD". However, after applying plyr, my order (and correspondin...
2012 Aug 28
1
don't print object attributes
...6.9 7.0
$virginica
x[, "Sepal.Length"]
n missing unique Mean .05 .10 .25 .50 .75
50 0 21 6.588 5.745 5.800 6.225 6.500 6.900
.90 .95
7.610 7.700
lowest : 4.9 5.6 5.7 5.8 5.9, highest: 7.3 7.4 7.6 7.7 7.9
attr(,"split_type")
[1] "data.frame"
attr(,"split_labels")
Species
1 setosa
2 versicolor
3 virginica
Regards
Liviu
--
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?...
2010 Oct 03
1
plyr: a*ply with functions that return matrices-- possible bug in aaply?
...lements
> alply(HairEyeColor, 3, fun2way)
$`1`
Eye
Hair Brown Blue Hazel
Black 32 11 10
Brown 53 50 25
Red 10 10 7
$`2`
Eye
Hair Brown Blue Hazel
Black 36 9 5
Brown 66 34 29
Red 16 7 7
attr(,"split_type")
[1] "array"
attr(,"split_labels")
Sex
1 Male
2 Female
>
However, with aaply(), dim[3] ends up as first dimension, not last
> # dim[3] ends up as first dimension, not last
> aaply(HairEyeColor, 3, fun2way)
, , Eye = Brown
Hair
Sex Black...