Contains utility functions commonly used when conducting fisheries related analyses

classDF | classDF - tabluate the class of each column in a da |

codeutils | codeutils: a set of functions to assist with CPUE... |

countgtOne | countgtOne used in apply to count the number > 1 in a vector |

countgtzero | countgtzero used in apply to count the number of zeros in a... |

countNAs | countNAs used in apply to count the number of NAs in a vector |

countones | countones used in apply to count the number of ones in a... |

countzeros | countzeros used in apply to count the number of zeros in a... |

getname | getname returns the name of a variable as character |

greplow | greplow - uses tolower in the search for the pattern |

lininterpol | lininterpol - linearly interpolate values in a vector with... |

listFunctions | listFunctions: Lists all the functions in the R infile |

plotprep | plotprep: sets up a window and the par values for a single... |

printV | printV returns a vector cbinded to 1:length(invect) |

quants | quants used in apply to count the number > 1 in a vector |

setplot | setplot : provides an example plot with defaults for a... |

which.closest | which.closest find the number closest to a given value |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.