Description Usage Arguments Value Author(s) Examples
Subset a fishPi CS object.
1  | 
csObj | 
 fishPi CS object to subset.  | 
subset | 
 expression.  | 
link: | 
 boolean TRUE if link to ca table is taken into account (merge of ca use only tr table)  | 
subseted fishPi CS object.
Laurent Dubroca & Norbert Billet
1 2 3 4 5 6 7 8  | ## Not run: 
data(sole)
library(ggplot2)
sole.cs.pi <- csDataTocsPi(sole.cs) 
aggByFoCatEu5 <- csAggregate(csObj=sole.cs.pi, x=list(lenNum="lenNum"), by=list(foCatEu5="foCatEu5", lenCls="lenCls"), sum, na.rm=TRUE)
ggplot(data=aggByFoCatEu5) + geom_bar(mapping=aes(x=lenCls, y=lenNum), stat="identity") + facet_wrap(~foCatEu5, ncol=1, scales="free_y") + theme_bw()
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.