merge.par | R Documentation |
Merge u,v,D parameters Function to merge UV and D parameter data frames together
## S3 method for class 'par'
merge(uvpar, Dpar, track = NULL, return.mean = F)
uvpar |
dataframe of u and v advection parameters from |
Dpar |
dataframe of u and v advection parameters from |
track |
tagID index. If merging a single (or group) track/tagid, this is ithe tagid to merge. Otherwise, all records are merged |
return.mean |
logical; should a mean set of values per month be returned? If False, mean values for each month, for each fish, are returned. |
data frame of: Month, u, v, D, sd.u, sd.v, sd.D
Benjamin Galuardi
get.kfD
get.uv
get.allpar
data("nsfish")
uvpar = get.allpar(as.data.frame(nsfish))
Dpar = get.kfD(as.data.frame(nsfish))
simpar = merge.par(uvpar, Dpar, return.mean=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.