search for: x_pred

Displaying 2 results from an estimated 2 matches for "x_pred".

Did you mean: _pred
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
...related but I have no clue how to debug this. Perhaps the second output file is not getting initialized? I've tried a few variations to see if I can unearth the cause but no joy so far. Any suggestions would be appreciated. Thanks. ... profiles.spl <- 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,".",a...