make_std_pephylo: Write PEPHYLO standard deviation input

Description Usage Arguments Value Author(s)

View source: R/make_std_pephylo.R

Description

This function saves the standard deviations of the means required for running PEPHYLO

Usage

1
make_std_pephylo(errors, nrows, outpath, whatSex)

Arguments

errors

A vector of standard deviations (errors on the means) for each dependent variable. The errors can be calculated with bootrstrap_error.

nrows

An integer. The number of rows of the input table.

outpath

A string. The path to the folder where the output file is to be saved.

whatSex

A logical vector. The indices of the observations that are of the sex of interest.

Value

Returns 1 if succeeds. Saves the output file into the specified folder.

Author(s)

Raphael Scherrer


rscherrer/bop documentation built on May 22, 2019, 3:54 p.m.