View source: R/metocean.R View source: R/metocean.R
generatePivot | R Documentation |
Function to generate a pivot table of percentage occurances
Function to get a pivot table of Hm0 Tp occurances
generatePivot(df1, variables, target, bins, ...) generatePivot(df1, variables, target, bins, ...)
df1 |
Combined data frame |
variables |
vecotr of named variables within data frame |
target |
the value variable |
bins |
vector of bins for each of the named variables |
input_df |
|
variables |
= atomic vector of input variable names for pivot table |
bins |
= atomic vector of bins for each of the variables |
pivot_table
generatePivot(df1,variables,target,bins) generatePivot(df,c("Hm0","Tp"),bins = c())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.