Re: [R] Plot error in package lme4

2011-07-02 Thread Ben Bolker
Sara Krause gmail.com> writes: > > Hi, > > I am new to R and not fantastic at statistics so it may well be that I am > doing something silly but I can't figure out what it is and hoping that > somebody can help. > > I am running package lme4, and trying to get a Residuals vs. Fitted graph. >

[R] Plot error in package lme4

2011-07-02 Thread Sara Krause
Hi, I am new to R and not fantastic at statistics so it may well be that I am doing something silly but I can't figure out what it is and hoping that somebody can help. I am running package lme4, and trying to get a Residuals vs. Fitted graph. When I try to plot, I receive an error. Error in as

[R] Plot error bars on skyline plot

2011-06-20 Thread Andra-Lia Tolbus
Hi, I have generated a skyline plot of a tree in newick format using "ape". How can I plot the error bars for this graph? I only have the the tree data. un<-"8.1:0, 20.1:0):0, 6.1:3):123, (35.1:0, (22.1:0, (43.1:1, 29.1:0):0):0):4, 25.1:6):0, ((42.1:0, 21.1:0):3, (39.1:0, 2.1:

[R] plot error bars on skyline plot

2011-06-20 Thread Andra Tolbus
Hi, I have generated a skyline plot of a tree in newick format using "ape". How can I plot the error bars for this graph? I only have the the tree data. un<-"8.1:0, 20.1:0):0, 6.1:3):123, (35.1:0, (22.1:0, (43.1:1, 29.1:0):0):0):4, 25.1:6):0, ((42.1:0, 21.1:0):3, (39.1:0, 2.1:0):

Re: [R] Plot error

2010-07-17 Thread James Platt
The other question I have: Is there any way to link the data point on the graph to the name of a row i.e in my table: name value_1 value_2 bill 14 ben 2 2 jane 3 1 I click on the data point at 2,2 and it would read out ben thanks again. James

Re: [R] Plot error

2010-07-17 Thread James Platt
Hi both, Sorry my mistake I was trying to make a graph from another file I called seq, I decided to use test as an example, but mixed up the two. I have got this to work now thanks. after doing this: #Assign columns to variables 'x' and 'y' x <- test[ , "value_1"] y <- test[ , "value_2"]

Re: [R] Plot error

2010-07-17 Thread Joshua Wiley
Hi James, I believe the issue has to do with the values you assigned to 'x' and 'y'. You call the function c() on seq["value_1"], but you assigned your data not to 'seq' but to 'test'. You need to use the variable name that you assigned your data to (as a side note seq() is a function, so you sh

Re: [R] Plot error

2010-07-17 Thread Ista Zahn
Hi James, On Sat, Jul 17, 2010 at 2:50 PM, James Platt wrote: > Hi guys, > > I am a newbie to R, so apologies in advance. > > I created this simple table in excel, saved in tab delimited .txt: > > name value_1 value_2 > 1 bill       1            4 > 2 ben      2           2 > 3 jane     3        

[R] Plot error

2010-07-17 Thread James Platt
Hi guys, I am a newbie to R, so apologies in advance. I created this simple table in excel, saved in tab delimited .txt: name value_1 value_2 1 bill 14 2 ben 2 2 3 jane 3 1 >test <-read.table("\path\to\file", sep="\t", header=TRUE) >x <-c(seq["v

Re: [R] plot error

2010-05-13 Thread Uwe Ligges
On 13.05.2010 16:49, Mohsen Jafarikia wrote: Hello All: I am having the following error message when I increase the resolution ("res=30" to "res=350") of my graph: Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal Calls: plot -> plot.default -> plot.xy Execution halted Here is the

[R] plot error

2010-05-13 Thread Mohsen Jafarikia
Hello All: I am having the following error message when I increase the resolution ("res=30" to "res=350") of my graph: Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal Calls: plot -> plot.default -> plot.xy Execution halted Here is the code: ofn <- "MAY11.png" bitmap(ofn, type = "png25

[R] plot error

2010-05-12 Thread Mohsen Jafarikia
Hello All: I am having the following error message when I increase the resolution ("res=30" to "res=350") of my graph: Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal Calls: plot -> plot.default -> plot.xy Execution halted Here is the code: ofn <- "MAY11.png" bitmap(ofn, type = "png25

Re: [R] plot error -- figure margins too large

2009-09-29 Thread Ping-Hsun Hsieh
Thanks, Uwe. You code does what I would like to have! Best, Mike -Original Message- From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] Sent: Tuesday, September 29, 2009 1:36 AM To: Ping-Hsun Hsieh Cc: r-help@r-project.org Subject: Re: [R] plot error -- figure margins too large

Re: [R] plot error -- figure margins too large

2009-09-29 Thread Uwe Ligges
Ping-Hsun Hsieh wrote: Hi, I am trying to plot my dataset, consisting of one column with numeric values and one column with group IDs. The set is similar to the following df. df <- NULL for ( i in 1:20) { tmp1 <- runif(1000,0,5) tmp2 <- cbind(tmp1,i) df <- rbind(df,tmp2) } Now I woul

[R] plot error -- figure margins too large

2009-09-28 Thread Ping-Hsun Hsieh
Hi, I am trying to plot my dataset, consisting of one column with numeric values and one column with group IDs. The set is similar to the following df. df <- NULL for ( i in 1:20) { tmp1 <- runif(1000,0,5) tmp2 <- cbind(tmp1,i) df <- rbind(df,tmp2) } Now I would like to plot the numeric

Re: [R] Plot error

2009-06-01 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 28.05.2009 16:21:01: > > I want to plot data such that the 3 time points(a,b,c) lie on the X-axis > and > > the values of these times points are on Y-axis for n samples (e.g.100). > > > > So, I have an object x, dim 100 4, it is a dataframe (when che

Re: [R] Plot error

2009-05-28 Thread Richard . Cotton
> I want to plot data such that the 3 time points(a,b,c) lie on the X-axis and > the values of these times points are on Y-axis for n samples (e.g.100). > > So, I have an object x, dim 100 4, it is a dataframe (when checked the > class) > x = > name a b c > 10.11 1.11 0.8

[R] Plot error

2009-05-28 Thread NatsS
Hello, I am an R amateur. I want to plot data such that the 3 time points(a,b,c) lie on the X-axis and the values of these times points are on Y-axis for n samples (e.g.100). So, I have an object x, dim 100 4, it is a dataframe (when checked the class) x = name a b c 10.11

Re: [R] plot error

2008-09-23 Thread Barry Rowlingson
2008/9/23 glaporta <[EMAIL PROTECTED]>: > > HI there, > > why these lines of code are correct > plot(count~spray, data = InsectSprays) > plot(InsectSprays$count) > > but this return an error: > plot(count, data = InsectSprays); > > "data" method is not implemented in plot?! The 'plot' function, l

[R] plot error

2008-09-23 Thread glaporta
HI there, why these lines of code are correct plot(count~spray, data = InsectSprays) plot(InsectSprays$count) but this return an error: plot(count, data = InsectSprays); "data" method is not implemented in plot?! Thanx, Gianandrea -- View this message in context: http://www.nabble.com/plot-er

Re: [R] Plot error

2008-01-07 Thread Richard . Cotton
> Thank you so much for replying and sorry for asking so many times.. > My data is just like the example in plot.svm (package e1071) of Iris > data of library MASS, difference is I have 7 classes 13 variables > and 3 observations.. I've tried the codes as in that example but > still I got this

[R] Plot error

2008-01-06 Thread David Meyer
Pedros: if you have more than two explanatory variables, the plot.svm() function plots a slice out of the input space, i.e., you have to specify the two variables that are plot on the x and y axis. The example on the help page tells you how: plot(model, data= dados[,-1], formula=dados[,2]~dado

Re: [R] Plot error

2008-01-04 Thread Richard . Cotton
> I'm trying to plot an svm model and I'm the following error: > > > plot(model, data= dados[,-1], formula=formula(dados[,2]~dados[, > 3]),svSymbol = 1, dataSymbol = 2, symbolPalette = rainbow(4),color. > palette = terrain.colors) > Error in terms.default(x) : no terms component > > Anyone knows

[R] Plot error

2008-01-04 Thread pedrosmarques
Hi all, I'm trying to plot an svm model and I'm the following error: > plot(model, data= dados[,-1], formula=formula(dados[,2]~dados[,3]),svSymbol = > 1, dataSymbol = 2, symbolPalette = rainbow(4),color.palette = terrain.colors) Error in terms.default(x) : no terms component Anyone knows how t