Displaying 2 results from an estimated 2 matches for "simulatedamounts".
2017 Nov 23
0
ccomp Composition and ggtern plot...
...be wrong).
However, it does appear to be just a matrix(or vector) with a
class added (I presume to facilitate the provision of class
specific functions), so you can convert it to a matrix (vector)
with attr( my_ccomp, 'class' ) <- NULL and go from there.
eg
library(compositions)
data(SimulatedAmounts)
my_ccomp <- ccomp(sa.lognormals)
print(class(my_ccomp))
attr(my_ccomp,'class')<-NULL
print(class(my_ccomp))
my_ccomp_df <- as.data.frame(my_ccomp)
# or, as I've just seen in the code of plot.ccomp,
# my_ccomp_df <- as.data.frame(unclass(my_ccomp))
Regards,
Ron.
2014 May 13
0
package compositions removed CRAN. Explain please the output?
...ACK_LIBS) ... OK
* checking compiled code ... OK
* checking sizes of PDF files under ?inst/doc? ... OK
* checking installed files from ?inst/doc? ... OK
* checking files in ?vignettes? ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
user system elapsed
SimulatedAmounts 18.810 0.188 19.064
rmahalanobis 8.573 0.016 8.619
replot 7.078 0.012 7.113
* checking for unstated dependencies in tests ... OK
* checking tests ...
Running ?AitchisonTest.R?
Running ?CheckGeometry.R? [38s/38s]
Running ?RobustTest.R?
Running ?TestMissing.R? [39s/40s...