search for: saba

Displaying 20 results from an estimated 65 matches for "saba".

Did you mean: sab
2007 Mar 24
2
Two Problems while trying to aggregate a dataframe
...trag2: num 3.44 5.32 5.21 9.12 7.32 8.32 6.99 4.45 5.34 3.81 > atest PrsNr Namen Betrag1 Betrag2 1 1 Holla 1.99 3.44 2 2 Mabba 2.34 5.32 3 2 Mabba 5.23 5.21 4 3 Pisa 4.23 9.12 5 4 Pulla 2.23 7.32 6 5 Raba 2.77 8.32 7 6 Saba 3.83 6.99 8 6 Saba 2.76 4.45 9 6 Saba 6.32 5.34 10 7 Mulla 2.88 3.81 > aggregate(list(Betrag1=atest$Betrag1), by=list(PsrNr=atest$PrsNr, Namen=atest$Namen), sum) PsrNr Namen Betrag1 1 1 Holla 1.99 2 2 Mabba 7.57 3 7 Mulla 2.88 4...
2016 Apr 24
2
Inserting a blank row to every other row
Hi I need to insert a blank row after every row in R data frame. I have achieved it through: df[rep(1:nrow(df),1,each=2),] But it inserts a row with name of previous row, while i want a complete blank row without any name/title. Please guide me Regards Saba
2016 Apr 24
0
Inserting a blank row to every other row
Hi Saba, I don't know how to do what you want and I also cannot see why. If you describe what you hope to achieve there might be a different solution. Best wishes Ulrik Saba Sehrish via R-help <r-help at r-project.org> schrieb am So., 24. Apr. 2016 14:04: > Hi > > I need to insert a...
2016 Apr 24
2
Inserting a blank row to every other row
...Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Apr 24, 2016 at 8:21 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > Hi Saba, > > I don't know how to do what you want and I also cannot see why. > > If you describe what you hope to achieve there might be a different > solution. > > Best wishes > Ulrik > > Saba Sehrish via R-help <r-help at r-project.org> schrieb am So., 24. Apr. &gt...
2016 Apr 22
2
Finding Highest value in groups
...0.69 1 0.31 2 0.01 2 0.99 3 1.00 4 NA 4 0 4 1 5 0.5 5 0.5 I want to use R program to get results as below: ID Value 1 0.69 2 0.99 3 1.00 4 1 5 0.5 Kindly guide me in this regard. Thanks Saba
2006 Aug 31
1
XP home & saba
hi, i've some XP pro and one XP home workstation. samba runs in sharemode: [global] workgroup = SCHNELL server string = SERVER security = SHARE obey pam restrictions = Yes passdb backend = tdbsam passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
2007 Nov 28
2
extracting year an month from ts data set
...th dummy variables for each month. If I had a variable which take values from 1 to 12 indicating the month I could use the factor() function to model the series. reg1<-lm(hstarts~ -1 + factor(months)) Is there a function that will extract the year and month from a ts data set? Thanks, Richard Saba
2016 Apr 22
0
Finding Highest value in groups
Assuming your dataframe is in a variable x: > require(dplyr) > x %>% group_by(ID) %>% summarise(maxVal = max(Value,na.rm=TRUE)) On Fri, 2016-04-22 at 13:51 +0000, Saba Sehrish via R-help wrote: > Hi > > > I have two columns in data frame. First column is based on "ID" assigned to each group of my data (similar ID depicts one group). From second column, I want to identify highest value among each group and want to assign the same ID to that...
2016 Apr 24
0
Inserting a blank row to every other row
...ble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Sun, Apr 24, 2016 at 8:21 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: >> Hi Saba, >> >> I don't know how to do what you want and I also cannot see why. >> >> If you describe what you hope to achieve there might be a different >> solution. >> >> Best wishes >> Ulrik >> >> Saba Sehrish via R-help <r-help at r-proj...
2009 Mar 05
2
Overriding contributed package functions
...solution? The following code illustrates the problem: Y1<-arima.sim(n=100,list(ar=c(.95,-0.2))) model1<-arima(Y1,order=c(2,0,0)) tsdiag(model1) library(TSA) tsdiag(model1) stats::tsdiag(model1) detach("package:TSA") tsdiag(model1) R Saba
2016 Apr 10
1
working with unequal rows
...male in each month (F/ M+F) for each one of these companies. For example, in first month of company 001, there is a male and a female working, so in this month the fraction of female is 0.5. I need to know the coding to get this fraction for my whole data. Kindly guide me in this regard. Thanks Saba
2010 Feb 07
2
Reading hierarchical data
...0 1 217 0 2 210 1 3 226 1 I want to create a dataset containing . family ID . dwelling code . person ID . age . sex code The dataset will contain one observation per person, and the with family information repeated for people in the same family. Can anyone help? Thanks, Richard Saba
2016 Apr 24
0
Dividing rows in groups
...6 4 NA NA 7 4 0.0000000 1.0 8 4 1.0000000 0.0 9 5 0.2222222 1.0 10 5 0.7777778 NA Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Sun, Apr 24, 2016 at 12:02 PM, Saba Sehrish <sabasehrish at yahoo.com> wrote: > Hi Jim > > Thanks a lot. Its really helpful but actually I have around 10,000 columns > & 8000 rows. I simply want to get the weight of each observation in a group > (group is identified by ID). Therefore, I am looking for an eas...
2016 Apr 24
3
Dividing rows in groups
...I want to divide each row of df1 by the row of df2 having similar ID. What I want is as below: ID A B 1 1 0.4 1 0 0.6 2 0.83 NA 2 0.17 1 3 1 4 4 NA NA 4 0 1 4 1 0 5 0.22 1 5 0.78 NA Kindly guide me in this regard. Thanks Saba
2008 Mar 30
2
convert weekly time series data to monthly
...... ..... .. .... The merged data set should be of class(ts). I can perform the conversions outside of R and then import but I would rather perform all conversions within R. I have looked through the zoo and Rmetrics packages but without success. Any help will be appreciated. Thanks, Richard Saba Department of Economics Auburn University Email: sabaric at auburn.edu Phone: 334 844-2922
2012 Jan 17
2
Problems calling HVMOP_flush_tlbs
Hello xen-devel, I am using xen 4.2.1 and have tried the following with kernel 3.0.0 and 3.2.1. I am trying to invoke the HVMOP_flush_tlbs hypercall but have been unsuccessful. I am basing my call on the functions in in xc_misc.c, trying to guess what is meant by "@arg must be null" in the comment where HVMOP_flush_tlbs is defined. What is the correct way to invoke this
2009 Mar 24
1
Problem with new Samba 3.2.3 Ubuntu install: "INTERNAL ERROR 6 in pid XXXX"
I'm setting up a new Samba install on a fresh Ubuntu install. Samba is 3.2.3. When I try to list shares, that works: --------- stew@saba:/etc/samba$ smbclient -L saba Enter stew's password: <accepts correct password here> Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.2.3] Sharename Type Comment --------- ---- ------- Library Disk Library Domain=[MYDOMAIN] OS=[Unix]...
2008 Jan 03
1
R procedure similar to STATA heckprob?
Is anyone aware of an R procedure similar to STATA's "heckprob" procedure? "Heckprob" fits maximum likelihood probit models correcting for sample selection bias. Thanks, Richard Saba Department of Economics Auburn University Email: sabaric@auburn.edu [[alternative HTML version deleted]]
2008 Mar 21
1
tseries(arma) vs. stats(arima)
...quot;stats" or in other time series packages like fArima, forecast, or FinTS? They all take a "lag" argument. I would like to have the ability to estimate models like the one above while utilizing the "xreg" argument available in the other arima functions . Thanks, Richard Saba sabaric at auburn.edu
2016 Apr 06
1
Descriptive Statistics of time series data
...h column gives values for one month of a particular year (e.g. March 31st, 2010). Right now R gives descriptive results for each column, whereas I need it collectively for all the years ( one mean, one sd, one min, one max and one median) for each variable. Kindly guide me in this regard. Thanks. Saba Sent from Yahoo Mail on Android [[alternative HTML version deleted]]