Displaying 20 results from an estimated 900 matches similar to: "Hello"
2010 Feb 04
5
export test results to csv
Hi everybody!
I would like to export the results of a test statistic in a *.csv file,
but get an error.
The code is below.
The data are attached as .txt with tab as separator. I tried to get a
sample dataset, but for some reason it didn't work, so please excuse the
length of the file. I also attached a txt with the output (copy/paste)
in case that helps.
----
> library(WRS)
>
2008 Jun 18
5
Problem in Binning of a data set
Hello,
I am having problem with binning the data. I have a 50X3 matrix and I binned
the data for all the 3 columns. Using table command I got the total no. of
elements in a particular bin.
Could you please tell me how to see that what all elements are there in a
particular bin and then create a different matrix for each bin?
Thanks.
Regards,
Sumit
[[alternative HTML version deleted]]
2008 Mar 06
3
mean and sd with number of values?
Hi there,
When i do
mean(fl[1:20], na.rm=T)
sd(fl[1:20], na.rm=T)
I get 20 Results, but now I'd like to know from how many numbers my mean
and sd are calculated.
How to I use the length() for this, or is this possible?
Because there are missing values in some, but not in all columns. So
there should be a different count of numbers.
Thanks,
Martin
--
Ihr Partner f?r Webdesign,
2010 Mar 17
3
Adding minutes to 24 hour time
Hi,
Does anyone know how to add minutes (up to 100 min) to a 24 hour time, to create a new 24 hour time? I can't seem to find any documentation or examples explaining how to do this. The variables of interest are 'ARRIVE','WAIT', and 'DEPART' in the attached partial dataframe. I want 'DEPART' to be the "sum" of 'ARRIVE' and 'WAIT' in
2009 Oct 07
3
two plots on the same axis
Good morning. I wish to plot two data on the same axis. I tried plot(x,y,
type = "l") for the first and tried to use lines or points(x,y, lty = 2, col
= 4) to add or plot the second data on alongside the first. However, what I
got was not encouraging.
I have attached the two data and would be pleased if anybody could be of
help.
Thank you
Best regards
Ogbos
-------------- next part
2009 Mar 23
2
error statement: missing value where TRUE/FALSE needed
Hi list,
I want to try Gibbs sampling as a method of estimating a markov-switching
model of a mean-deviating, pth-order autoregressive process with time
varying transition probabilities via R and am using a code originally
written by another person; I attach the useful pdf document explaining the
code. When I run the code, I get an error message:
Error in if (r < vQ[i]) { : missing value
2010 Mar 18
2
Dataframe manipulation
Hello R users,
I spent most of my workday yesterday trying unsuccessfully to
write code that will perform a series of calculations on my
dataframe (partial copy is attached). What I need to do is
multiply the 24 hr time in the 'DEPART' column by the time
(in the 'TRAVEL' column (travel time in minutes), and store this
result in the 'ARRIVE' column for the following
2017 Oct 13
2
How to define proper breaks in RFM analysis
> On Oct 13, 2017, at 2:51 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote:
>
> Hi
>
> You expect us to solve your problem but you ignore advice already recieved.
>
> Your data are unreadable, use dput(yourdata) instead. see ?dput
>
>> test<-read.table("clipboard", heade=T)
> Error in scan(file = file, what = what, sep = sep, quote = quote,
2017 Oct 13
0
How to define proper breaks in RFM analysis
Hemant's problem is that the indicators are not distributed uniformly.
With a uniform distribution, categorization gives a reasonably optimal
separation of cases. One approach would be to drop categorization and
calculate the overall score as the mean of the standardized indicator
scores. Whether this is an option I do not know. I did offer an
"eyeball" set of breaks in a previous
2017 Oct 23
1
How to define proper breaks in RFM analysis
hello,
I'm confused what you guys are talking about.
i just want to set ideal threshold values for my RFM scores which can be
done using Quantiles but i don't want to use quantiles because my data is
not normally distributed so it will lead to wrong ranges of breaks. to fix
this problem I'm looking for an approach which can define the ideal range
to breaks to categorize RFM scores into
2017 Oct 10
0
Help RFM analysis in R (i want a code where i can define my own breaks instead of system defined breaks used in auto_RFM package)
Hello Jim,
i have converted all my variable data type according to your attached
example including date, and my dataset looks like this.
ID purchase date
1234 10.2 2017-02-18
3453 18.9 2017-03-22
7689 8 2017-03-24
but when I'm passing the data
2017 Oct 09
2
Help RFM analysis in R (i want a code where i can define my own breaks instead of system defined breaks used in auto_RFM package)
I seriously doubt that you are running the code I sent. What you have
probably done is to run your data, which has a different date format,
without changing the breaks or the date format arguments. As you
haven't provided any example that shows what you are doing, I can't
guess what the problem is.
Jim
On Mon, Oct 9, 2017 at 9:40 PM, Hemant Sain <hemantsain55 at gmail.com> wrote:
2017 Oct 13
2
How to define proper breaks in RFM analysis
Hey,
i want to define 3 ideal breaks (bin) for each variable one of those
variables is attached in the previous email,
i don't want to consider quartile method because quartile is not working
ideally for that data set because data distribution is non normal.
so i want you to suggest another method so that i can define 3 breaks with
the ideal interval for Recency, frequency and monetary to
2017 Oct 13
0
How to define proper breaks in RFM analysis
Hi
You expect us to solve your problem but you ignore advice already recieved.
Your data are unreadable, use dput(yourdata) instead. see ?dput
> test<-read.table("clipboard", heade=T)
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 115 did not have 6 elements
What is ?ideal interval? can you define it? Should it be such to provide eqal
2016 Apr 22
2
Weighting recent results
I did some digging and found a thread from 2011 talking about how to
subclass Xapian::PostingSource in order to incorporate the date or
recency of a document in its weighting:
http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856
As in that thread, I want to be clear that I don't want to sort by date,
but rather incorporate date information into the score by which I
2009 Mar 02
2
R-code help for filtering with for loop
Dear Sir / Madam,
I am new for R coding. Kindly help me out in sorting out the following problem.
There are 50 rows with six coloumns(you could see in the attached .txt file). I
wish to go for filtering this 50 rows for any one of the six coloumns
satisfying the value >= 64.
I need to have a final table with rows having >= 64 value in any one of the six
coloumns and the rest could be
2012 Dec 13
7
Thin server giving Stack level too deep error
Hi,
I am using thin web server in my rails project. But it gives stack level
too deep error. Couldn''t find any appropriate solution to this.
I have tried updating the ruby but didn''t help.
Regards,
Sumit
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 Mar 25
2
tapply and NA value
Hi,
I'm writing for a little help.
I have a dataframe with same NA value and I'd like to obtain the means of the
value of a coloumn grouped by the levels of a factor coloumn of the datframe.
I'm using the function "tapply" but I see that if only a NA value is present
the result is NA.
There is an option to have the correct result or I must use an other function?
Thanks of
2012 Aug 13
9
Using Jquery plugin "tokenInput" with rails
Hi,
I made a contact manager app using rails. I added TokenInput plugin to
introduce an instant contact search functionality in it. Tried following a
railscast http://railscasts.com/episodes/258-token-fields but have been
struggling with it for a while. Following is the code I use in my view
<%= form_tag({:action => ''show'', :id => @contact_tokens}, :remote =>
2016 May 16
2
Weighting recent results
I was thinking about this some more: Is there a reason I can't just
weight by some function of recency at indexing time?
$weight = get_weight_based_on_recency(...);
$tg->index_text($txt,$weight);
If I wanted to allow the user the option of searching either in
recency-weighted mode or not, I could index each document into 2
different databases, one with and one without.
This avoids