similar to: Barplots

Displaying 20 results from an estimated 3000 matches similar to: "Barplots"

2006 Mar 08
5
data import problem
Dear All, I'm trying to read a text data file that contains several records separated by a blank line. Each record starts with a row that contains it's ID and the number of rows for the records (two columns), then the data table itself, e.g. 123 5 89.1791 1.1024 90.5735 1.1024 92.5666 1.1024 95.0725 1.1024 101.2070 1.1024 321 3 60.1601 1.1024 64.8023 1.1024 70.0593
2004 Mar 11
6
saving a data.frame to "\t" files
Windows 2000, updated R and packages. could somebody pleaseeeeeeeee help with saving a data.frame with column names into "\t" text files for later importing in other programs? It seems an easy task, yet... it beats me. thanks, Mihai Nica Jackson State University [[alternative HTML version deleted]]
2003 Sep 19
2
extracting the levels of a subset of data
Hi, > tmpdata<-subset(myd, TYPE=="A") > levels(tmpdata$TYPE) > [1] "A" "B" "C" I'd like to get only "A" as output... Thanks for your help Marc
2003 Sep 24
2
data.frame with duplicated id's
Hi, is there a exstisting function (..i found nothing until now.) what makes it possible transfrom a dataset: ID AGE V.MAI V.JUNE 11 20 100 120 12 30 200 90 into ID AGE V 11 20 100 11 20 120 12 30 200 12 30 90 ,or have i to programm ths my self? Thanks for any comment, help and/or starting point. regards,christian
2003 Oct 23
3
Writing and running a R program
Is there a way I can combine multiple lines of R commands (see below) into a little code snippet or a program in a text file, and run it in R to do my analysis? sink("mysink.txt") for (......) { code for creating a dataframe from supplied data code for doing anova from selected data } Thanks very much. Karth.
2003 Nov 12
2
postscript: font size in text(x,y,label)?
I would like to just create my (point) labels [created by text(x,y,labels)] in smaller font size, especially when I write out to eps. all other point sizes should not change. is this possible? help appreciated. regards, /iaw
2003 Nov 20
1
incorporating R into C
I've become somewhat decent with R over the last month, and I feel confident that nothing online can help me with this question, and hence I'm putting it to this list, gratefully. Is it possible to call a R function, like nlm(), which is from the base package, in a C or C++ program? I've looked through the source, and I don't think it was the designer's intent to allow such a
2004 Mar 11
5
recoding variables
Hi, I was hoping someone could help me. I am a graduate student new to using R, and I'm trying to figure out how to recode a continuous variable to make it into an ordinal variable with 3 categories. I literally have no idea how to proceed--could anyone possibly advise me? Please copy me on any responses, as I have just subscribed to the R-help email list but don't know whether the
2003 May 07
4
element of
Dear all, is there any funktion in R which i can use to check if a single value is element of a matrix or data.frame so that it returns me logical values like TRUE/FALSE. Thanks in advance for your help!
2003 Dec 17
2
Easiest way to get the mean of a row of a data.frame?
Dear r-helpers! I am kind of new to R. I would like to calculate the mean of the numbers of this expression: data(USArrests) USArrests[row.names(M) == "Alabama",] class() tells me it's a ``data.frame,'' what I actually desire is to get all numbers of a row as a vector or a list to let mean() calculate the mean of the whole row. (I know this doesn't make sense
2003 Nov 20
3
read.table(..)..Help?
Hallo, can someone please help me. I have a proplem reading a file with more that one rows. e.g I used the function: p<-read.table(file="FILENAME ", header=TRUE,sep=";") and later used the data.Frame() function. It functions when the file has only a row of variables. When I insert the second row I get an error message. How do I do this ===== ===================== Sylvie
2004 Apr 01
4
multiple plots problem
Hello, for testing & learning purposes I create X11 device and specify layout like layout(c(1,2,3), 3, 1), so I could play with parameters and see several plots at the same time. That works fine until I try to create 4-th plot - all other plots erased. Such behaviour isn't desirable for testing purposes and I'm asking where to look to disable erasing other plots. Regards, Oleg
2002 Sep 16
2
privsep versus compression
Hi, I'm unable to get Kerberos4 authentication working with openssh-3.4p1. I'm getting a message that privsep is not available on my platform (Irix 6.5.15) and another message stating that compression and privsep are mutually exclusive. But, ssh decided to turn off compression, I think because of servconf.c. I think it would be more usefull to have compression enabled and disable privsep
2005 Jan 13
6
random samples
hi, I am encoutering a very little problem that seemed to be so easy to solve.... I need to divide the array > A<-c(1:200) into two subsets at random. Therefore I use the function "sample" in R: > S<-sample(A,100) for a random sample of size 100. Then I need the values in A that are not selected in S to be put in another array, there is my problem! Is there anyway to do
2003 Oct 09
4
Getting rows from a dataframe
Sorry if this is a silly question. I'm trying to extract all elements of a dataframe at a particular row. I can find no mention of this in any documentation and it may be naivety of dataframe on my part as I'm very green at this. Thankyou, Mark
2003 Sep 09
4
How to convert a Rd file into multi html files?
Hi, I wrote all documents for each objects in my package in one .Rd file. Now I can't convert the .Rd file into multi html files such that a html file corresponds a object in package. The command I used was ' R CMD Rdconv -t html foo.Rd'. It just converted the document of first object in .Rd into html format. I had to write a perl script to satisfy myself. But is there a more direct
2003 Nov 20
5
Find value in vector (or matrix)
Hi all, Is there a function to check if a particular value is contained in a vector? I've looked at grep in the hope that I could use a Perl-like syntax, but obviously it's different... I'd like to do something like: y <- c("a","b","c") if("a" in y) { # "a" is not in y } Also, is there a way to
2006 Oct 17
1
Convert Contingency Table to Flat File
Hello All, Is there any R function out there to turn a multi-way contingency table back to a flat file table of individual rows and attribute columns.? Thanks! marco --------------------------------- [[alternative HTML version deleted]]
2006 Mar 15
3
click on graph and select data points?
Hi all, I am doing some clustering and the clustered results are presented in a "pairs" plot showing 4 clusters... I made the data points belong to 4 different clusters displaying different colors. Now I want to select the best clustered class, how can I click on the data point, and the program returns the index of that cluster(its class number, or color number)? Also, if I would
2006 Apr 16
1
string vector indices
Hi, I have a string vector, say, x <- "a", "aab" and anther string vector, say, y <- "a", "aa", "aab", "aabc". Is there any R function to get the indices of y for the elements of x, that is, foo(x, y) will give me the index vector c(1, 3)? I know i can combine apply() and grep("^aab$", y) to do it. But is there any