Hello dec=dwt(ld, filter='d8', n.levels=lev, boundary="reflaction"); dwt is an function which returns W, V, filter dec is an object which consist of W, V, filter and others How to change values (of W, V, filter...) when i have dec thank you! -- View this message in context: http://r.789695.n4.nabble.com/how-to-values-of-the-object-in-R-lang-tp2313480p2313480.html Sent from the R help mailing list archive at Nabble.com.
Hi,
Try help("$").
dwt <- function(ld, filter='d8', n.levels=lev,
boundary="reflaction")
{
list(W=ld, V=n.levels,filter=filter)
}
dec <- dwt(1:10, filter='d8', n.levels=10,
boundary="reflaction")
dec$W
dec$V
dec$filter
dec$W <- sqrt(1:10)
dec
-----
A R learner.
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-change-values-of-the-object-in-R-lang-tp2313480p2313719.html
Sent from the R help mailing list archive at Nabble.com.