nanotidy: A Tidy Function

Description Usage Arguments Value

View source: R/nanotidy.R

Description

This function allows you tidy Nanosight data. It will make the data go from 'wide' to 'long'.

Usage

1
nanotidy(df, sep_var)

Arguments

df

A dataframe.

sep_var

Numerical range of columns to tidy, specify "2:n" where n is the last column

Value

Gathers values from 'wide' to 'long' format. Returns a dataframe with a Sample and Count column.


nguyens7/tidyNano documentation built on Feb. 27, 2021, 4:14 p.m.