Displaying 17 results from an estimated 17 matches similar to: "problem in merging"
2011 Mar 10
3
Fw: random sampling steps in R with replacement
Please note is with replacement
From: taby gathoni <tabieg@yahoo.com>
To: R help <r-help@r-project.org>
Sent: Thursday, March 10, 2011 11:53 AM
Subject: [R] random sampling steps in R
Dear all,
Could someone assist me in random sampling steps/code in R? I have a main sample of 42 males and 165 females and I want to come up with about 1000 samples of 20 males and 20 females from
2011 Mar 16
2
calculating AUCs for each of the 1000 boot strap samples
Hallo,
I modified a code given by Andrija, a contributor in the list to achieve two objectives:
create 1000 samples from a list of 207 samples with each of the samples cointaining 20 good and 20 bad. THis i have achievedcalcuate AUC each of the 1000 samples, this i get an error.
Please see the code below and assist me.
> data<-data.frame(id=1:(165+42),main_samp$SCORE,
2011 Mar 10
1
random sampling steps in R
Dear all,
Could someone assist me in random sampling steps/code in R? I have a main sample of 42 males and 165 females and I want to come up with about 1000 samples of 20 males and 20 females from this main sample. While at it, i would also like to come up Accuracy Ratios (ARs) with corresponding confidence intervals.
Please assist.
Thanks so much,
Taby
[[alternative HTML version
2011 Jan 03
1
personal details appearing on google such after I pose a question in the R-help forum
Hi all,
Out of curiosity I googled my name yesterday to just see what new information in the web there is associated with me. To my surprise, I found in addition to the questions i have posted on this forum, my email address and my signature details (name, address, telephone number) seem to appear everytime i pose a question. How can i conceal my personal details from the access of anyone when
2010 Dec 20
1
transposing panel data
I am currently trying to transpose some large panel data set ie transposing multiple rows in into a single column. instead the transpose functionality transposes all rows into columns. my sample data set looks like below:
ACCT_NUM
ACCOUNT_NAME
TRAN_AMT
DATE
EMPLOYER
101913
GK
7489
30-Apr-10
PENSION
101913
GK
7489
30-May-10
PENSION
101913
2011 Jun 21
2
interaction between categorical variables
Dear R-users,
I need some assistance.
I am running some interactive variables for categorical variables.
I have dgen(2 levels converted to dummy variables) and dtoe(4-levels also converted to dummy variables). So I have worked with them in two ways:
i created a variable X1 = dgen*dtoe and I get an error "Error in dgen * dtoe : non-conformable arrays"then i run a glm, binomial
2011 Oct 11
1
warning with cut2 function
Dear r user,
please find my attached sample of the dataset i? am using to create a crosstable and eventually plot a histogram from the output.
I am using? the cut2 function to create bins, about 7 of them using the code after reading the data:
cluster <- cut2(cross_val$value, g=7)
I get the warning:
Warning message:
In min(xx[xx > upper]) : no non-missing arguments to min; returning Inf
2011 Feb 14
1
problem in installing Rattle in R 2.12.1.0
Hi all,
Please help,
I am getting an error when I try installing rattle.
Error in as.GType(type) : Cannot convert RGtkBuilder to GType
I have already installed
gtk-2.12.9-win32-2 and gtk2-runtime-2.22.0-2010-10-21-ash
and restarted R as instructions require.
Please assist me
Taby
[[alternative HTML version deleted]]
2006 Sep 18
5
Undefined method "updated?"
I recently updated Rails to the latests version, and one of my existing
apps broke. More speficially, it can''t find the method "updated?" when
it is attempting to call it on one of my models.
The stack trace follows:
NoMethodError
undefined method `updated?'' for #<MyModel:0xc91d50>
2011 Apr 08
3
random sampling with levels and with replacement
Dear all,
i have a dataset of about 400 records , with a variable that has two levels 40 bad and 360 good among other variables,how do i come up with10 random samples that have the composition of as the main sample but maintaining the 40 bad 360 good with replacement, i recently discovered that my random samples generated dont maintain the ratio. My code is as :
mysample <-
2007 Mar 13
2
RODBC Excel sqlQuery insert into
I have searched the archives for using insert into to update spreadsheets
using RODBC and have come up short. So, first off, is it possible?
I have put together a dummy xls table (c:\foo.xls)for exploring
possibilities of RODBC. Ultimately, I am interested in replacing much of
our previous use of vba macros with R ( I'd prefer elimination, but will
take what I can get ). In order to
2012 Feb 15
1
Passing date as parameter while retrieving data from database using dbGetQuery
Hi All,
This might be simple question, I need to retrive data for modelling from the
databases. Eveytime date values changes so I countnot fix date value in the
code, it is required to pass as parameter.
When I pass the date as parameter, it throws error.
(ERROR: column "start_dt" does not exist Position: 285)
My script is as below, please guide me where am I going wrong?
All parameters
2005 Jan 24
3
cepstral integration with * using AGI?
Hi, I've looked at the Wiki for this, have seen the Swift.agi details,
but has anyone got a current script for Cepstral and an example of
integraton in * please?
I'm a * and linux newbie, so please be gentle ;-)
Thanks
John
2002 Apr 29
3
how to trap any warnings from an R function
Within an user function, how are the warnings from an R function be trapped
(such that some proper actions can be taken)? 'last.warning' is returned
only at the top level. Pointers are appreciated.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2011 Apr 13
1
plotting line graphs for output from crosstabs function
Hi R-users,
This is a generic question, is there a way to plot a line graph for the output from crosstable function? one of the inputs to the crosstab function is categorical.
Taby --
[[alternative HTML version deleted]]
2011 Dec 04
1
RODBC sqlSave / append problem (windows XP, R 2.13.2)
Dear All,
Using RODBC I have read in a (429 x 11) dataframe from Access, and would
like to append two columns of transformed data (429 x 2) to the original
table (thereby making it a 429 x 13 table). I would ideally like this to
be the same name etc as the original table in Access.
I have used the following command:
R>
2010 Mar 22
2
ActiveMerchant, Authorize.net and Email Receipts
I''ve posted this on RailsForum.com and in the ActiveMerchant talk
group, and haven''t received an answer, so I figure I''ll try here.
Hello. I''ve been searching for information on this for a while, but my
google fu is evidently weak--hardly anyone even talks about email
receipts re: ActiveMerchant, much less my specific problem.
In any case, I have a client whose