import: Import csPi or csData data from an excel file or csv file.

Description Usage Arguments Value Author(s) Examples

Description

Import csPi or csData data from an excel file or csv file.

Usage

1

Arguments

file:

an excel file name containing the csPi or csData tables, or a list of csv files.

Value

a csPi or a csData object

Author(s)

Norbert Billet & Laurent Dubroca

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
 #test with csData
 data(sole)
 export(sole.cs,file="output.xlsx")
 pipo<-import(file="output.xlsx")
 head(pipo)
 #test with csPi
 data(sole)
 pipo<-csDataTocsPi(sole.cs)
 export(pipo,file="output.xlsx")
 pipo<-import(file="output.xlsx")
 head(pipo)

## End(Not run)

ldbk/fishPifct documentation built on May 20, 2019, 11:28 p.m.