search for: ayear

Displaying 3 results from an estimated 3 matches for "ayear".

Did you mean: year
2006 Mar 21
5
How to use: library lattice: barchart
...te = TRUE, minlength = 5))) I want my data to be represented just in the same way. But when I try it like this: ayield = c(2,3,5,6,3,4,7,8,9,2,3,5,6,1,2,3,4,2,6,8) avariety = c(rep("A",5),rep("B",5),rep("C",5),rep("D",5)) ayear = (c(rep(1931,10),rep(1932,10))) asite = c(rep(c("iu","gt","jt","jhzt","tr"),4)) abarley = data.frame(cbind(ayield,avariety,ayear,asite)) barchart(ayield ~ avariety | asite, data = abarley,groups = ayear, layout = c(1,5) ) it looks totaly differen...
2011 Jan 14
3
RSQLite - How to express(or save) a dataframe as an output?
Dear R helpers Suppose following is an output due to some R process. I wish to save it as a table in 'temp.db' df <- data.frame(x = c(5, 4, 3, 11), y = c(25, 16, 9, 121))     library(RSQLite)     write('** Initializing','')     drv <- dbDriver("SQLite", shared.cache = TRUE)     con <- dbConnect(drv, dbname = "temp.db",
2011 Jan 22
0
how to call BayesX in R to see the graph
...smooth.spline(x, y) (profiles.spl) x_pred = seq(1,as.integer(max(x))) B = data.frame(predict(profiles.spl,x_pred)) pdf(file=paste("/Volumes/SLR_Data_001/USN_SERDP_SLR/data/level1/beach_profiles_Flick/",Filename,".pdf",sep="")) caption = paste(aLocation," (", aYear,".",aMonth,".",aDay,")",sep="") credits = paste("splineWriter.R / hellyj@ucsd.edu / 20110120") xrng = range(x) yrng = range(y) pred = qplot(x,y, data=B, xlab="Distance (m)", ylab = "Elevation (m)", xlim=c(0,1000), ylim=c(-12,4))...