FS#27 - as.data.frame(FLQuant) doesn´t return the same as as.data.frame(FLQuant)
|
Detailsas.data.frame(FLQuant) doesn´t return the same as as.data.frame(FLQuant) as in FLQuants the data.frame returns factors, can we make these the same.
mapply(function(x,y) class(y[x]), x=names(t.),y=as.data.frame(m(ple4))) age year unit season area iter data qname "numeric" "numeric" "factor" "factor" "factor" "factor" "numeric" "numeric" mapply(function(x,y) class(y[x]), x=names(t.),y=as.data.frame(FLQuants(m(ple4)))) age year unit season area iter data qname "factor" "numeric" "factor" "factor" "factor" "factor" "numeric" "character" If they have to be factors can we also make sure that for ages as years teh order matches the numeric order Laurie |
This task depends upon