[R] Bar Charts

2008-05-08 Thread hoogeebear
Hi, I created some bar charts. My first one is concerned with males, and my second concerned with females. Is there a way I can put the charts into one chart? There is 2 different columns in each file. Here is my new file containing males and females: gender,familar Female,Yes Female,Yes Female,

[R] Cant resolve Error Message

2008-05-02 Thread hoogeebear
Hi, Im having trouble creating the following graph. Here is my code: library(plotrix) library(prettyR) female_improvement <-read.table("C://project/graphs/gender/breakdown/gender-improvement/female-improvement.csv", sep=",", header=TRUE) barp(rbind(rep(length(female_improvement$gender),2),freq(f

[R] Making the size of bar charts smaller

2008-04-19 Thread hoogeebear
Hi, Just wondering is there a way to make the width of bar charts that you create using R smaller? Also, a bar chart I created has a total number of 23 entries (with 2 different columns 14 and 9), how can I have the total number on the Y axis adding up to 23 and not the larger of the two columns

[R] Working with graphs.

2008-04-18 Thread hoogeebear
Hi, Im created some pie charts using R. I have two segments, I am just wondering how can I add a number to each segment that represents each each segment? Also is there a way to change the colors of each segment? Sorry if this frustrates anyone because of its simplicity, but I am new to R. Tha

[R] Having a probelm woth creating a a simple chart.

2008-04-17 Thread hoogeebear
Hello, I am having trouble with creating a simple bar chart using R. My file just consists of 1 column called reason. Within this column, there are 2 responses(Room for Improvement and Info entered is all relevant). My code for creating the charts is as follows: d <-read.table("C://project/graph

[R] Help with Error!

2008-03-07 Thread hoogeebear
Hi, Can anyone explain the following error?? Error in FUN(newX[, i], ...) : missing observations in cov/cor In addition: Warning message: In FUN(newX[, i], ...) : NAs introduced by coercion svm_modelSAheart1 <- svm(x_training, y_training) is the command i am using.my x/y training are working fi

Re: [R] Help with Error

2008-01-17 Thread hoogeebear
Thnk you very much! It now works correctly! Much Appreciated, John. hoogeebear wrote: > > Hi, > > I am having trouble with an error I keep getting. I am just trying to > create a simple pic chart from a small table. Hope someone can help. I am > new to R. > &

[R] Help with Error

2008-01-17 Thread hoogeebear
Hi, I am having trouble with an error I keep getting. I am just trying to create a simple pic chart from a small table. Hope someone can help. I am new to R. Table: Name Votes John 300 Sean222 Andy 467 Sinead 740 David 124 James 641 William 380 Commands: d <

Re: [R] Can anyone help??

2008-01-16 Thread hoogeebear
Hi Guys, Thank you very much for the quick response. Adding the extra \ has fixed the errors. Thanks again, Regards, John. hoogeebear wrote: > > Hi, > > Im getting the following error when I attempt to read a csv file into R. I > have the file saved on my C drive. Id reall

[R] Can anyone help??

2008-01-16 Thread hoogeebear
Hi, Im getting the following error when I attempt to read a csv file into R. I have the file saved on my C drive. Id really appreciate it if anyone can help My Command: > survey <- read.csv (file = "C:\onlinesurvey.csv",head= TRUE, sep =",") Error: Error in file(file, "r") : unable to ope

[R] Just Beginning

2008-01-07 Thread hoogeebear
Hi, Im new to "R", I am currently doing a proect for college, in which questions are answered and the results are sent to a mySql database. Essentially I want R to read from this database and generate graphs e.t.c. Dies anyone know of a good website where I can learn the different commands needed