EcoGenetics (version 1.2.1-4)

eco.remove: Creating an updated ecogen object by removing results of the slot OUT

Description

Creating an updated ecogen object by removing results of the slot OUT

Usage

eco.remove(eco, ...)

Arguments

eco

Object of class "ecogen".

...

Objects to remove from eco, typed without quotations.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
data(eco.test)
variog <- eco.variogram(eco[["P"]][, 1], eco[["XY"]])

# the assignment of values can be made with the corresponding accessors,
# using the generic notation of EcoGenetics 
# (<ecoslot.> + <name of the slot> + <name of the object>).
# See help("EcoGenetics accessors")

ecoslot.OUT(eco) <- variog         
we.are.numbers <- c(1:10)
we.are.characters <- c("John Coltrane", "Charlie Parker")
ecoslot.OUT(eco) <- list(we.are.numbers, we.are.characters)
ecoslot.OUT(eco)
eco <- eco.remove(eco, we.are.numbers)
ecoslot.OUT(eco)

# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace