Re: [R] Problem with data distribution

2022-02-17 Thread Ebert,Timothy Aaron
: Thursday, February 17, 2022 4:54 PM To: Bert Gunter Cc: r-help mailing list Subject: Re: [R] Problem with data distribution [External Email] :) :) On Thu, Feb 17, 2022 at 10:37 PM Bert Gunter wrote: > imo, with such simple data, a plot is mere chartjunk. A simple table(= > the distri

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
gt; (Why would you want to plot a vector of all zeros, btw?) > > > > > > > > > > > > library(dplyr) > > > > > > boxplot(filter(data, bug == 0))# nonsense > > > boxplot(filter(data, bug > 0), range = 0) > > > > > > #

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
: > > That is all the code I have. How can I provide a reproducible code ? > > > > How can I save this result? > > > > On Thu, Feb 17, 2022 at 8:00 PM Ebert,Timothy Aaron > wrote: > > > >> You pipe the filter but do not save the result. A reproducible example &

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
Dear John, thanks a lot for the detailed answer. Yes, I am not an expert in R language and when a problem comes in, I google it or post it on these forums. (I have just a little bit experience of ML in R). On Thu, Feb 17, 2022 at 8:21 PM John Fox wrote: > Dear Nega gupta, > > On 2022-02-17 1:

Re: [R] Problem with data distribution

2022-02-17 Thread John Fox
Dear Nega gupta, In the last point, I meant to say, "Finally, it's better to post to the list in plain-text email, rather than html (as the posting guide suggests)." (I accidentally inserted a "not" in this sentence.) Sorry, John On 2022-02-17 2:21 p.m., John Fox wrote: Dear Nega gupta, O

Re: [R] Problem with data distribution

2022-02-17 Thread John Fox
Dear Neha gupta, I hope that I'm not overstepping my role when I say that googling solutions to specific problems isn't an inefficient way to learn a programming language, and will probably waste your time in the long run. There are many good introductions to R. Best, John On 2022-02-17 2:

Re: [R] Problem with data distribution

2022-02-17 Thread Rui Barradas
e- From: R-help On Behalf Of Neha gupta Sent: Thursday, February 17, 2022 1:55 PM To: r-help mailing list Subject: [R] Problem with data distribution [External Email] Hello everyone I have a dataset with output variable "bug" having the following values (at the bottom of this email). M

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
- > From: R-help On Behalf Of Neha gupta > Sent: Thursday, February 17, 2022 1:55 PM > To: r-help mailing list > Subject: [R] Problem with data distribution > > [External Email] > > Hello everyone > > I have a dataset with output variable "bug" having t

Re: [R] Problem with data distribution

2022-02-17 Thread Ebert,Timothy Aaron
You pipe the filter but do not save the result. A reproducible example might help. Tim -Original Message- From: R-help On Behalf Of Neha gupta Sent: Thursday, February 17, 2022 1:55 PM To: r-help mailing list Subject: [R] Problem with data distribution [External Email] Hello everyone

Re: [R] problem with data

2013-03-29 Thread catalin roibu
hello all! I solve the problem! Sorry for disturbing! Best regards, CR On 29 March 2013 11:28, catalin roibu wrote: > Hello all! > I have a problem with my data in R. When I want to plot the following > data, I have a problem with y scale. The maximum value is cc. 10 degrees > and in R is abou

[R] problem with data

2013-03-29 Thread catalin roibu
Hello all! I have a problem with my data in R. When I want to plot the following data, I have a problem with y scale. The maximum value is cc. 10 degrees and in R is about 100. I use this code: fasy<-read.table("gridd1.txt",sep="\t",dec=",",header=T,row.names=1) # here are the years: x <- as.numeri

Re: [R] problem with data frame to numeric transformation

2012-05-21 Thread Rui Barradas
Hello, You need to tell read.table that the table has headers. # needed 'header=TRUE' first <- read.table("RESIDSNEWr.csv", sep=";", quote="\"", header=TRUE)[c(1)] second <- read.table("RESIDSNEWr.csv", sep=";", quote="\"", header=TRUE)[c(2)] # see what they look like str(first) str(second) is.

[R] problem with data frame to numeric transformation

2012-05-21 Thread Ivette
http://r.789695.n4.nabble.com/file/n4630788/GOF_CGIK.R GOF_CGIK.R http://r.789695.n4.nabble.com/file/n4630788/RESIDSNEWr.csv RESIDSNEWr.csv In order to save place, I attach the data and the R code, for which I have 2 questions. 1/ I cannot convert successfully the data frames with names "first

Re: [R] problem with data

2012-03-08 Thread Sarah Goslee
Is v_star a vector? That is, was it already created? Otherwise you'll need: v_star <- x.sub$Time[1] as a number of people have already suggested. Sarah On Thu, Mar 8, 2012 at 9:39 AM, RMSOPS wrote: > > Hello > >  I try save the results in the the vector, > > v_star[1]<-x.sub$Time[1] > >   and g

Re: [R] problem with data

2012-03-08 Thread RMSOPS
Hello I try save the results in the the vector, v_star[1]<-x.sub$Time[1] and give me the following error In v_end[1] <- x.sub$Time[1] : number of items to replace is not a multiple of replacement length, how put this [1] *"2006-10-31 19:03:01 EST"* inside the vetor Thanks -- Vi

Re: [R] problem with data

2012-03-08 Thread Prof Brian Ripley
On Thu, 8 Mar 2012, RMSOPS wrote: Hello In the variable x.sub$Time i have the many dates in format 2006-10-31 20:10:35 EST, for example when print (x.sub$Time) give this [1] "2006-10-31 20:10:35 EST" "2006-10-31 20:11:08 EST" "2006-10-31 20:11:21 EST" "2006-10-31 20:12:16 EST" [5] "2006-10-

Re: [R] problem with data

2012-03-08 Thread R. Michael Weylandt
dput(x.sub) so we can see what you really have. Michael On Thu, Mar 8, 2012 at 4:35 AM, RMSOPS wrote: > Hello > >   In the variable x.sub$Time i have the many dates in format  2006-10-31 > 20:10:35 EST, for example when > print (x.sub$Time) give this > > [1] "2006-10-31 20:10:35 EST" "2006-10-3

Re: [R] problem with data

2012-03-08 Thread Sarah Goslee
You don't provide either dput() or str() results, so nobody here knows exactly what your data format is. But as a first guess, you should probably be using sart<-x.sub$Time[1] instead. Sarah On Thu, Mar 8, 2012 at 4:35 AM, RMSOPS wrote: > Hello > >   In the variable x.sub$Time i have the many da

Re: [R] problem with data

2012-03-08 Thread RMSOPS
Hello In the variable x.sub$Time i have the many dates in format 2006-10-31 20:10:35 EST, for example when print (x.sub$Time) give this [1] "2006-10-31 20:10:35 EST" "2006-10-31 20:11:08 EST" "2006-10-31 20:11:21 EST" "2006-10-31 20:12:16 EST" [5] "2006-10-31 20:13:20 EST" "2006-10-31 20:13

Re: [R] problem with data

2012-03-07 Thread Petr PIKAL
> Good Afternoon, > >I have a small problem with the following code. > > # The x.sub$Time[[1]] 2006-10-31 19:03:01 EST > > # when put in variable star give-me > star<-x.sub$Time[[1]] > print(star) > print(x.sub$Time[[1]]) > [1] 1 36 32 - > > > do not understand why Why what?

Re: [R] problem with data

2012-03-07 Thread R. Michael Weylandt
Perhaps you should dput() you data so this is reproducible... Michael On Wed, Mar 7, 2012 at 10:15 AM, RMSOPS wrote: > Good Afternoon, > >    I have a small problem with the following code. > > # The x.sub$Time[[1]]  2006-10-31 19:03:01 EST > > # when put in variable star give-me > star<-x.sub$T

[R] problem with data

2012-03-07 Thread RMSOPS
Good Afternoon,    I have a small problem with the following code. # The x.sub$Time[[1]] 2006-10-31 19:03:01 EST # when put in variable star give-me star<-x.sub$Time[[1]] print(star) print(x.sub$Time[[1]]) [1] 1 36 32 - do not understand why -- View this message in context: ht

Re: [R] problem with data processing in R

2009-12-10 Thread Tal Galili
Hi Maxim, Yes, it is possible. Please review the information here: http://www.statmethods.net/management/subset.html In short, you need to read in your file at one chunk (maybe using read.table) and then subset and plot it however you want. If this was a bigger job I would send you to learn the p

[R] problem with data processing in R

2009-12-10 Thread Maxim
Hi, I'm stuck with parsing data into R for heatmap representation. The data looks like: 1 id1 x1 x2 x3 x20 2 id1 x1 x2 x3 x20 3 id1 x1 x2 x3 x20 4 id1 x1 x2 x3 x20 . 348 id2 x1 x2 x3 x20 349 id2 x1 x2 x3 x20 350 id2 x1 x2 x3 x20 351 id2 x1 x2

Re: [R] problem with data for metaMDS analysis please help

2008-04-23 Thread Gavin Simpson
On Tue, 2008-04-22 at 20:19 -0400, stephen sefick wrote: > am at my wit's end. I am not sure what is wrong with this data matrix. It > is sparse because it is a matrix of species, but I have looked at the row > totals and column totals and they are positive. > rmetaMDS(x.d) > Error in if (autotra

[R] Problem with data editor when R built with --enable-mcfs

2007-12-01 Thread gginiu
Hi, I encountered this problem when I was looking around in R, by default R is built with --enable-mcfs and when I tried to edit any data I was getting: dataentry(datalist, modes) : invalid device unable to create fontset -*-fixed-medium-r-normal--13-*-*-*-*-*-*-* anyway I looked around code, no