Learn R Programming

LumReader (version 0.1.0)

remove_Filter: Function to remove a filter from a stack

Description

This function removes a filter from a stack

Usage

remove_Filter(object, filter)

Arguments

object
FilterStack from which the filter has to be removed.
filter
Filter that has to be removed.

Examples

Run this code
#Create filterStack
name <- "example"
description <- "non realistic filterStack"

filters <- default_Filters(c('example','example2'))

filterStack <- create_FilterStack(name, description, filters)

plot_FilterStack(filterStack)

#Removal of the 2nd filter
filterStack <- remove_Filter(filterStack, filters[[2]])

plot_FilterStack(filterStack)

Run the code above in your browser using DataLab