search for: datafr

Displaying 6 results from an estimated 6 matches for "datafr".

Did you mean: data_r
2009 Sep 14
2
Is there an equivalent of "echo"
Sorry I'm having one of those moments where I can't find the answer but I bet its obvious... I'm outputting my results to a file using sink() Is there a command simillar to php's echo command that would allow me to add some text to that file ie: dataFr$a = 1:10 dataFr$b = 2*1:10 sink ("filepath/filename.txt", split=T) #Show number of entries in vector a table (dataFr$a) #show number of entries in vector b table (dataFr$b) #show relationship between a and b table (dataFr$a , dataFr$b) sink() Gives me a text file like this: 1 2 3 4...
2006 Jul 10
2
How to get R to ignore certain values when analyzing a column in a data table ?
Apologies if this is in (one of the many) manuals somewhere... Trying to switch to R from other stats programs. Basically, I have a large data table I've dumped from a DB, some of the values which are nulls '-' which I've converted to zeros. I've read it in using read.table fine. I want R to ignore the zero values when graphing or doing various other calculations. Is
2009 Jul 02
4
Name of data.frame as a text string?
I've passed a data.frame as an input into a function which does some plotting on a 4x4 matrix of certain parameters within in the data.frame. I'd like to add a small header on top of each plot with the name of the data.frame so that it's clear as I compare these 16 things where each on came from. So far I haven't found the right way to get the name of the data.frame as a string
2002 Jun 18
2
model.tables
Windows 2000 R 1.4 I have a split-split plot design that I am analyzing with model <- aov(). I tried using model.tables(model) and it replied "Error: subscript out of bounds." I have monkeyed with it a little, but am wondering if this is indicative of something in particular. Thanks, Hank Martin Henry H. Stevens, Assistant Professor 338 Pearson Hall Botany Department Miami
2000 Jul 13
2
Programming puzzle...
Dear R guru's, I'd like to sort the columns of a matrix according to the elements in the first row, and in case of a tie according to the second row, etc. In case of a 3xn matrix woppa, something like colorder _ order(woppa[1,], woppa[2,], woppa[3,]) I just cannot seem to find a way to do this for a variable number of rows, e.g. if woppa has 10 or 15 rows I now manually cut and paste to
2007 Nov 25
2
rowMean, specify subset of columns within Dataframe?
...means, and reattach to the original data frame, or use a different function such as apply? Unfortunately I am fairly new to R and have a difficult time with some terminology and concepts in R Help. -- View this message in context: http://www.nabble.com/rowMean%2C-specify-subset-of-columns-within-Dataframe--tf4871420.html#a13939204 Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]