Displaying 1 result from an estimated 1 matches for "prod2007".
2010 May 12
8
function
Dear list,
I'm trying to implement the following function, but what I get is an error message and I don't understand where is the error:
#outliers'identification:
iqr=lapply(bb,function(){
inner_fencesl=quantile(x,0.25)-1.5*IQR(x)
inner_fencesh=quantile(x,0.75)+1.5*IQR(x)
outer_fencesl=quantile(x,0.25)-3*IQR(x)
outer_fencesh=quantile(x,0.75)+3*IQR(x)})
where bb is a dataframe