Displaying 2 results from an estimated 2 matches for "usdchf".
Did you mean:
dlusdchf
2012 Dec 10
2
Removing named objects using rm(..)
When I import the library timeSeries I get (at least) the variable USDCHF
imported too.
I would like to delete it, but I cannot. As you can see below.
Clearly I am doing something wrong. What is it?
> library(timeSeries)
Loading required package: timeDate
> class(USDCHF)
[1] "timeSeries"
attr(,"package")
[1] "timeSeries"
> rm(l...
2012 Apr 27
1
multivariate xts merge question
...eurgbp", "eurjpy",
"eurnzd", "eurusd", "gbpaud", "gbpcad", "gbpchf", "gbpjpy", "gbpnzd",
"gbpusd", "nzdcad", "nzdchf", "nzdjpy", "nzdusd", "usdcad", "usdchf",
"usdjpy")
procState <- function(r, nams)
# r: row
# nams: column names
{
d<-data.frame(aud=0,cad=0,chf=0,eur=0,gbp=0,jpy=0,nzd=0,usd=0)
st<-head(grep(".1", nams, fixed=TRUE), n=1)
for (i in grep(".1", nams, fixed=TRUE))
{
# first and secon...