Part_fixrate: Rarefy Parturition Model

Description Usage Arguments Value Examples

View source: R/Part_fixrate.R

Description

This function tests the effects of rarefying your parturition model on model accuracy. You can use this to help determine the fix rate needed for you data/study/species

Usage

1
2
3
  Part_fixrate(input = "/home/puma/Desktop/RunningPart/Data/StarkeyElk_ReadyData.RData",
  name, saveby = "Study", ncpu = 75, basefolder, sampsize = 80,
  prepboots = 75, finboots = 100, max_fix = 12)

Arguments

input

Username for Iridium Account (not stored) as character vector

name

Password for Iridium Account (not stored) as character vector

saveby

Directory to download the file to

ncpu

Type of collar/system (currently only supports 'ATS/IRID' and 'ATS/GSTAR')

basefolder

folder to save output to (eg '/home/puma/Desktop/Parts/')

sampsize

Percent of animals to use to train model (default percent = 80)

prepboots

bootstraps to use when preparing variables/model (~20 is sufficient)

finboots

bootstraps to use when creating final model (200-1000)

max_fix

max fix rate to test expressed as number (ie 12)

Value

outputs a new folder for each fix rate, goes from 1 to max_fix

Examples

1
fixrate(input = "/home/puma/Desktop/RunningPart/Data/StarkeyElk_ReadyData.RData", name = 'StarkElk', saveby = 'Study', ncpu = 75, basefolder = '/home/puma/Desktop/RunningPart/NewRarefy/', sampsize = 80, prepboots = 75, finboots = 100, max_fix = 12)

MovingUngulate/Part documentation built on May 30, 2019, 6:12 a.m.