search for: wordier

Displaying 5 results from an estimated 5 matches for "wordier".

Did you mean: bordier
2008 Aug 16
4
Lattice: problem using panel.superpose and panel.groups
Hi. I'm embarking on my first attempt at creating my own panel function for lattice graphics, and despite all of my online research and pouring through the documentation, I cannot figure out how to solve my particular problem. Hopefully, a generous fellow R user can help. I have some data that is split into two groups: some "actual" data, and some simulated data,
2010 Oct 18
0
wishlist: system.file(..., mustExist = TRUE)
I find system.file() handy for writing examples, but if the user mistypes its arguments or if a package is not up to date its return value of "" can lead to trouble. This forces the example to be wordier than I'd like. E.g., the following example works > scan(what="", sep="\n", system.file("DESCRIPTION")) Read 9 items [1] "Package: base" [2] "Version: 2.12.0" [3] "Priority: base" [4] "Title: The R Base Package&quot...
2005 Dec 28
9
Idiom question - assertions which aren''t in tests
All, Although I''ve been keeping an eye on Ruby for several years now, I don''t have a huge amount of experience with it. So please forgive me if I''m missing something obvious. I''m in the process of writing my first really "serious" Rails app and would appreciate your advice. I am wondering if there is a standard idiom for including assertions in
2008 Dec 05
1
Yet another set of codes to optimize
I have problems converting my dataset from long to wide format. Previous attempts using reshape package and aggregate function were unsuccessful as they took too long. Apparently, my simplified solution also lasted as long. My complete codes is given below. When sample.size = 10000, the execution takes about 20 seconds. But sample.size = 100000 seems to take eternity. My actual sample.size is
2010 Jan 31
2
Reshaping matrix of vectors as dataframe
Dear R people, I have to deal with the output of a function which comes as a matrix of vectors. You can reproduce the structure as given below: x <- list(c(1,2,4),c(1,3,5),c(0,1,0), c(1,3,6,5),c(3,4,4,4),c(0,1,0,1), c(3,7),c(1,2),c(0,1)) data <- matrix(x,byrow=TRUE,nrow=3) colnames(data) <- c("First", "Length", "Value") rownames(data)