Generate_hatchling_metric: Generate a data.frame that can be used as hatchling.metric...

View source: R/Generate_hatchling_metric.R

Generate_hatchling_metricR Documentation

Generate a data.frame that can be used as hatchling.metric value for searchR()

Description

Generate a data.frame that can be used as hatchling.metric value for searchR()

Usage

Generate_hatchling_metric(
  series = stop("A result object or names of series must be provided"),
  hatchling.metric = NULL,
  previous = NULL
)

Arguments

series

Name of series or object from searchR()

hatchling.metric

Size or mass at hatching. Will be recycled if necessary

previous

Previous formated hatchling.metric data

Details

Generate_hatchling_metric Generate a data.frame that can be used as hatchling.metric value for searchR()

Value

A data.frame with size or mass at hatching for each nest

Author(s)

Marc Girondot marc.girondot@gmail.com

Examples

## Not run: 
library(embryogrowth)
data(resultNest_4p_SSM)
testsize1 <- Generate_hatchling_metric(resultNest_4p_SSM)
testsize2 <- Generate_hatchling_metric(series=resultNest_4p_SSM,  
	hatchling.metric=c(Mean=39.3, SD=1.92))

## End(Not run)

embryogrowth documentation built on Sept. 11, 2024, 8:16 p.m.