Displaying 2 results from an estimated 2 matches for "mnams".
Did you mean:
nams
2007 Mar 09
1
Applying some equations over all unique combinations of 4 variables
...ates that are applied
#to it.
#dataset
cata <- c( 1,1,6,1,1,2)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
data1 <- data.frame(cata, catb, doga)
rm(cata,catb,doga)
data1
# start rates
# names for lists
fnams <- c("af", "pf", "cf", "mf")
mnams <- c("am", "pm", "cm", "mm")
# Current layout of the rate data frames
alphahill <- list(af <- c("a1","a2","a3"), pf <-
c("d1","d2","d3"),
cf <- c("f1","...
2004 May 24
2
Month names
This is how I get the month names from within R:
> mon <- rep(strptime("01/01/1952", format = "%d/%m/%Y"), 12)
> mon$mon <- mon$mon + 0:11
> mnam <- months(mon, abbreviate = F)
> mnam
[1] "januar" "februar" "marts" "april" "maj" "juni"
"juli" "august"