search for: smartpink111

Displaying 20 results from an estimated 316 matches for "smartpink111".

2013 Feb 19
1
data format
...quot;-9999.000" "-9999.000" ... Regarding the space between date1 and discharge, I haven't checked it as you didn't mention whether it is needed in data.frame or not. A.K. ________________________________ From: eliza botto <eliza_botto at hotmail.com> To: "smartpink111 at yahoo.com" <smartpink111 at yahoo.com> Sent: Tuesday, February 19, 2013 10:01 AM Subject: RE: THANKS ARUN.. ITS A CHARACTER.... SORRY FOR NOT TELLING YOU IN ADVANCE ELISA > Date: Tue, 19 Feb 2013 07:00:03 -0800 > From: smartpink111 at yahoo.com > Subject: Re: > To:...
2013 Aug 29
4
Add new calculated column to data frame
Hi, I have a following data set: id event time (in sec) 1 add 1373502892 2 add 1373502972 3 delete 1373502995 4 view 1373503896 5 add 1373503996 ... I'd like to add new column "time on task" which is time elapsed between two events (id2 - id1...). What would be the best approach to do that? Thanks, Srecko [[alternative HTML
2013 Feb 17
6
histogram
...x<=455??? 0 #10 45<x<=505??? 0 hist(vec1,breaks=c(0,55,100,145,190,235,280,325,370,415,460)) ?hist(vec1,breaks=c(0,55,100,145,190,235,280,325,370,415,460),prob=TRUE) ?lines(density(vec1)) A.K. ________________________________ From: eliza botto <eliza_botto at hotmail.com> To: "smartpink111 at yahoo.com" <smartpink111 at yahoo.com> Sent: Sunday, February 17, 2013 2:35 PM Subject: histogram Dear Arun, [text file is attached in case format of email is changed] For the following data set 33 18 13 47 30 10 ?6 21 39 25 40 29 14 16 44 ?1 41 ?4 15 20 46 32 38 ?5 31 12 48 27 36...
2013 Jan 04
2
Can you help me please
...] 20235 25655 225860 289658 243889 244338 243889 #? Indexed by objects of class: [Date] TZ: #? xts Attributes:? #List of 2 # $ tclass: chr "Date" ?#$ tzone : chr "" plot(dat2) A.K. ________________________________ From: Fares Said <frespider at hotmail.com> To: arun <smartpink111 at yahoo.com> Sent: Friday, January 4, 2013 9:16 AM Subject: Can you help me please Hi A.K, I am not sure if you have looked at this question, If not can you please look http://r.789695.n4.nabble.com/Generate-time-series-data-td4654589.html Thanks
2013 Feb 17
3
Select components of a list
...gt;|z|) #[1,] 0.002659544 0.0009352046 0.004457766 #[2,] 0.002825612 0.0010150314 0.005373144 #[3,] 0.002409738 0.0009563814 0.011747444 #[4,] 0.001725140 0.0011635156 0.138155175 Hope it helps. A.K. ________________________________ From: Gustav Sigtuna <gsigtuna at gmail.com> To: arun <smartpink111 at yahoo.com> Sent: Saturday, February 16, 2013 7:44 PM Subject: Re: Select components of a list Hi Arun, Thanks for taking your time to find a solution. I have attached a R script that will recreate a?comparable?list from publicly available data. My list is longer and created by various mo...
2013 Sep 02
3
Product of certain rows in a matrix
Hi, You could try: A<- matrix(unlist(read.table(text=" 1 2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1 ",sep="",header=FALSE)),ncol=3,byrow=FALSE,dimnames=NULL) library(matrixStats) ?res1<-t(sapply(split(as.data.frame(A),as.numeric(gl(nrow(A),2,6))),colProds)) ?res1 #? [,1] [,2] [,3] #1??? 4?? 10?? 18 #2?? 63?? 64?? 63 #3?? 18?? 10??? 4
2013 Jun 10
2
please check this
...dx10,]) #[1] 452 ?res10PercentNew<-res10Percent[-indx10,] ?nrow(subset(res10PercentNew,dummy==1)) #[1] 226 ?nrow(subset(res10PercentNew,dummy==0)) #[1] 226 ?nrow(unique(res10PercentNew)) #[1] 452 A.K. ----- Original Message ----- From: Cecilia Carmo <cecilia.carmo at ua.pt> To: arun <smartpink111 at yahoo.com> Cc: Sent: Monday, June 10, 2013 10:19 AM Subject: RE: please check this But I don't want it like this. Once a firm is paired with another, these two firms should not be paired again. Could you solve this? Thanks, Cec?lia ________________________________________ De: arun [s...
2012 Dec 17
5
save to file
 Hi, What's the equivalent of "Save to File" from the R console File menu on an R routine? Just trying to capture the whole R console into a text file when my code fails. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx [[alternative HTML version deleted]]
2013 May 07
4
how to calculate the mean in a period of time?
...:nrow(res1) res1$period<-with(res1,ave(patient_id,patient_id,FUN=seq)) ?res1 #? patient_id scores period #1????????? 1?? 2.05????? 1 #2????????? 2?? 2.40????? 1 #3????????? 2?? 2.05????? 2 A.K. ________________________________ From: GUANGUAN LUO <guanguanluo at gmail.com> To: arun <smartpink111 at yahoo.com> Sent: Tuesday, May 7, 2013 11:29 AM Subject: Re: how to calculate the mean in a period of time? Yes ? as you have said, probably , it's not continuous. 2013/5/7 arun <smartpink111 at yahoo.com> Hi, >Your question is not clear.? You mentioned to calculate the mea...
2013 Aug 27
1
R Language Newbie
Hi, set.seed(29) myVector<- rnorm(100) ?seq(1,100,by=2) # [1]? 1? 3? 5? 7? 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 #[26] 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 myVector[seq(1,100,by=2)] rev(myVector) ?sum(myVector>0) #[1] 46 #or ?table(myVector>0) # #FALSE? TRUE ?#? 54??? 46 A.K. Hey guys, this is my first week
2013 Feb 17
1
addition in the initial question
.....$ 7: chr? "I" "K" "W" #? ..$ 8: chr? "O" "Q" #? ..$ 9: chr? "D" "U" # $ Frequency??????????? : int? 3 4 3 2 2 3 3 2 2 2 A.K. ________________________________ From: eliza botto <eliza_botto at hotmail.com> To: "smartpink111 at yahoo.com" <smartpink111 at yahoo.com> Sent: Sunday, February 17, 2013 3:27 PM Subject: addition in the initial question Dear Arun, just a small change in the initial question. what if, instead of counting number i want to get the headers of the numbers falling in each range. fin...
2013 Feb 13
3
date and matrices
....frame':??? 2192 obs. of? 2 variables: # $ x : Date, format: "1991-01-01" "1991-01-02" ... # $ V2: num? 0.314 0.314 0.273 0.273 0.236 0.236 0.236 0.236 0.273 0.314 ... A.K. ________________________________ From: eliza botto <eliza_botto at hotmail.com> To: "smartpink111 at yahoo.com" <smartpink111 at yahoo.com> Sent: Wednesday, February 13, 2013 9:01 AM Subject: date and matrices Dear Arun, [text files is also attached to be used in case format is changed] i have 124 matrices with 12rows and 1 column. In all those 124 columns there are values of a c...
2013 May 07
4
create unique ID for each group
Hey All, I have a dataset(dat1) like this: ObsNumber ID Weight 1 0001 12 2 0001 13 3 0001 14 4 0002 16 5 0002 17 And another dataset(dat2) like this: ID Height 0001 3.2 0001 2.6 0001
2013 Feb 15
10
reading data
...A #4?? aAA? 1? 2 1965 0.0007000? 4? 3 AR??? 2??? 11616 8926 #5? aAAA? 1? 3 3660 0.0008600 18? 3 AA??? 2??? 20392? 496 #6??? AA na? 2 1972 0.0007000 11? 3 AR?? 25????? 509? 734 A.K. ----- Original Message ----- From: "veracosta.rt at gmail.com" <veracosta.rt at gmail.com> To: smartpink111 at yahoo.com Cc: Sent: Friday, February 15, 2013 9:15 AM Subject: reading data Hi, I post yesterday and you helped me. I have little problem. At first, I never worked with regular expressions... The code that you gave me it's ok, but my files are inside the folders a1,a2,a3. I try to explai...
2013 Jun 07
4
matched samples, dataframe, panel data
I R-helpers #I have a data panel of thousands of firms, by year and industry and #one dummy variable that separates the firms in two categories: 1 if the firm have an auditor; 0 if not #and another variable the represents the firm dimension (total assets in thousand of euros) #I need to create two separated samples with the same number os firms where #one firm in the first have a corresponding
2013 Feb 15
2
data formatting
..."1911. 9.19???? 3.26" "1911. 9.20???? 5.70" "1911.10.21???? 9.24" #[22] "1911.10.22???? 7.60" "1911.11.23??? 14.82" "1911.12.24??? 14.10" A.K. ________________________________ From: eliza botto <eliza_botto at hotmail.com> To: "smartpink111 at yahoo.com" <smartpink111 at yahoo.com> Sent: Friday, February 15, 2013 12:38 PM Subject: data formatting Dear Arun, [text file is also attached if format is changed] i need to data managing genius expertise on the following issue. i have data like the following table 1911.01.01??...
2013 Jan 28
6
Thank you your help.
...????? NA #8 HM001? 1230 27.4000 #9 HM001? 1231 22.4236 #Based on the variance, You could set up some limit, for example 50 and use: tempnew$WEIGHT<- ifelse(tempnew$WEIGHT>50,NA,tempnew$WEIGHT) A.K. ________________________________ From: ??? <jamansymptom at naver.com> To: arun <smartpink111 at yahoo.com> Sent: Monday, January 28, 2013 2:20 AM Subject: Re: Thank you your help. Thank you for your reply again.??Your understanding is exactly right. I attached?a?picture that show dataset. 'weight' is a dependent variable. And CTIME means hour/minute. This data will have accu...
2013 Jun 10
4
Combining CSV data
Hello R community, I am trying to combine two CSV files that look like this: File A Row_ID_CR, Data1, Data2, Data3 1, aa, bb, cc 2, dd, ee, ff File B Row_ID_N, Src_Row_ID, DataN1 1a, 1, This is comment 1 2a, 1, This is comment 2 3a,
2013 Mar 29
1
multiple plots and looping assistance requested (single plot)
...ub=i,main="Seasonal Flux Sum", xlab="Calendar Year Timesteps",ylab="Total Flux (kg/season)"); matlines(x[,1],x[,-1],type="l",lty=1:2,lwd=1,col=1:2)}) dev.off() A.K. ________________________________ From: Irucka Embry <iruckaE at mail2world.com> To: smartpink111 at yahoo.com Sent: Friday, March 29, 2013 5:41 PM Subject: Re: [R] multiple plots and looping assistance requested (single plot) Hi Arun, I'm sorry about the data not being read correctly. OK, thank you so much! Irucka <-----Original Message-----> >From: arun [smartpink111 at...
2013 Apr 12
5
how to change the date into an interval of date?
Hi, I am not sure I understand your question correctly. dat1<- read.table(text=" id??????????? responsed_at???????????????? number_of_connection????????????????? scores 1????????????????? 12-01-2010?????????????????????????????????? 1????????????????????????????????????????????? 2 1????????????????? 15-02-2010??????????????????????????????????