Displaying 3 results from an estimated 3 matches for "dfgrouping".
Did you mean:
_grouping
2007 May 08
0
'aggregate' should preserve level ordering of factors (PR#9666)
...r' is mentioned only once:
"The elements of the list will be coerced to
factors (if they are not already factors)."
-----
This issue made me write the following code used
for preparing the data for a barchart:
df.a = aggregate(df[,value.var],
list(grouping=dfgrouping, other=dfsubbar.var),
FUN=FUN)
if (is.factor(dfsubbar.var)) { # R 2.4: this should be done by 'aggregate'
df.a$other = factor(df.a$other,
levels=levels(dfsubbar.var),
ordered=is.ordered(dfsubbar.var))
}
Cumbersome....
2007 May 14
0
(PR#9666) 'aggregate' should preserve level ordering of
...The elements of the list will be coerced to
> factors (if they are not already factors)."
>
> -----
>
> This issue made me write the following code used
> for preparing the data for a barchart:
>
> df.a = aggregate(df[,value.var],
> list(grouping=dfgrouping, other=dfsubbar.var),
> FUN=FUN)
> if (is.factor(dfsubbar.var)) { # R 2.4: this should be done by 'aggregate'
> df.a$other = factor(df.a$other,
> levels=levels(dfsubbar.var),
> ordered=is.ordered(dfsubbar.va...
2014 Dec 17
3
Problema con el subset
Hola a todos,
Agradeceros de antemano vuestro tiempo y paciencia ya que soy un poco
novato y tal vez esto sea un poco trivial.
Lo que quiero hacer es que me represente en eje de las x las fechas
(columna fecha) y los valores de z (columna z) pero de los datos que he
filtrado antes en
(dfgrupo<-subset(df,df$parametroslaboratorio=="Aflatoxinas ByG")) y que los
parámetros iguales