describe_nested_df: Make summary statistics on nested dataset

View source: R/describe_nested_df.R

describe_nested_dfR Documentation

Make summary statistics on nested dataset

Description

This function compute descriptive statistics on a nested dataframe and create 3 new columns containing: 1) descriptive statistics using the function my_summ_stat_func(), 2) outliers and extreme values and 3) qqplot to visulaize normality.

Usage

describe_nested_df(
  nested_df,
  targed_dataset = "data",
  faceted_by_1 = "Condition",
  faceted_by_2 = "."
)

Arguments

nested_df

A nested dataset. Ideally, previously grouped by the paramters of interes to be analyzed. Eg. wave frequency, wave latency, amplitude, etc.

targed_dataset

Character. the column name of the dataset to perform the summary. By default uses the colum named "data" containing the raw dataset, but if you have transformed data e.ge logarithmic, centered, etc., you can input the name of such column.

faceted_by_1

A string. Grouping variables for visualization. Default to Condition.

faceted_by_2

A string. Aditional grouping variables for visualization. Default to ..

Value

A nested dataframe with the additional columns: "Described", "outliers" and "qqplots" for the given input dataframe.

Examples

# the example is missing

rjlopez2/AnlysisOfWaves documentation built on Sept. 15, 2022, 2:25 p.m.