sub_name: set the category of the data

View source: R/sub_name.R

sub_nameR Documentation

set the category of the data

Description

to separate the data related to the excel files. add a new column of data that represent the treatment/replications etc.

Usage

sub_name(df, category)

Arguments

df

data of a type data frame (contains the SOURCE column that specify which excel files that the data have come from).

category

a character verctor to group the data

Details

use Soto's answer as https://stackoverflow.com/questions/4954507/calculate-the-area-under-a-curve

Examples

## Not run: 
library(jiptest)
area_cal(df)

## End(Not run)

zhujiedong/jiptest documentation built on April 23, 2024, 12:12 p.m.