get_peaks_counts_continuous: Peaks of a continuous variable in a dataframe format

View source: R/get_peaks_counts_continuous.R

get_peaks_counts_continuousR Documentation

Peaks of a continuous variable in a dataframe format

Description

This function allows you to get peaks and summary counts per group for a continuos variable in a dataframe format. Handles ties; least frequent is ignored, except if it is the only one, depends on get.peaks function

Usage

get_peaks_counts_continuous(
  origtable,
  grouping_col,
  columnname,
  peak_number,
  adjust1,
  signifi,
  nsmall
)

Arguments

origtable

dataframe

grouping_col

column with categories - character

columnname

column with numerical data

peak_number

number of peaks to get, see get.peaks

adjust1

bandwith adjust parameter

signifi

see get.peaks function

nsmall

see get.peaks function

Value

data.frame

Examples

get_peaks_counts_continuous(fabaceae_clade_1Cx_df, "clade", "Cx", 2, 0.25, 1, 2)

dotsViolin documentation built on Nov. 2, 2023, 6:09 p.m.