export_Filter: Function to export a filter

Description Usage Arguments Value Author(s) Examples

View source: R/export_Filter.R

Description

This function exports a filter as a .FLT file.

Usage

1
export_Filter(object, file.name)

Arguments

object

Filter to export

file.name

character name of the .FLT file that will contain the filter properties.

Value

The function creates a new txt file containing the filter properties.

Author(s)

David Strebler, University of Cologne (Germany).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
example <- default_Filters('example')[[1]]
file.name <- 'example'

## Not run: 
export_Filter(example, file.name)  # uncomment

## End(Not run)

# There is now an 'example.FLT' file in the 'working directory'.
# This file is a classical .txt file despite the extension.

file <- paste(getwd(),'/', file.name,'.FLT', sep="")
print(file)
# readLines(file)

LumReader documentation built on May 29, 2017, 9:33 p.m.