insertToProjectXML: Modify a StoX project.xml file directly.

Description Usage Arguments

Description

insertStratumpolygon inserts stratumpolygon to the project.xml file.

insertEdsupsu inserts edsupsu to the project.xml file.

insertPsustratum inserts psustratum to the project.xml file.

insertSuassignment inserts suassignment to the project.xml file.

insertBioticassignment inserts bioticassignment to the project.xml file.

insertToProjectXML inserts a string to the project.xml file.

getTransectID returns transect IDs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
insertStratumpolygon(Stratum, file)

insertEdsupsu(Log, file)

insertPsustratum(Log, file)

insertSuassignment(Log, estlayer = 1, file)

insertBioticassignment(Stations, file)

insertToProjectXML(insert, type, file)

getTransectID(Log)

getLogStoXid(Log, timevar = "start_time")

Arguments

Stratum

A data.frame with column names "longitude" and "latitude" giving the stratum polygon, or a list of these, named by the stratum names.

file

The path to the project.xml file.

Log

A data.frame with one row per log distance, holding the following columns: "transect", "stratum", "logStoXid".

estlayer

A vector of the estimation layers.

Stations

A data.frame of one row per biotic station, holding the following columns: "stratum", "stationID".

insert

A string to insert to the project.xml file.

type

The type of data to insert to the project.xml file.


Sea2Data/Rstox documentation built on May 14, 2019, 8:58 a.m.