Displaying 20 results from an estimated 200 matches similar to: "Help writing function in R...."
2011 Apr 18
2
SQLDF syntax
Hi,
I am new to R and trying to migrate from SAS. I am trying to use sqldf to
create a new table from existed table and change some of the columns. I have
table called DataOld with columns commodity, rate and total and I am trying
to create new table called DataNew with columns commodity, ratenew and
totalNew.
> sqldf("create table datanew as select commodity, ratenew as rate * 10,
>
2012 May 30
2
Sorting a data set
I am a novice user of R and am stumbling on how to order a dataset
produced during my session.
I have a 1863 row X 14 column dataset that I want to put out to a file.
I want the output sorted by the first column and then by the second
column both in ascending order. The first column is character and the
second is numeric (I hope). I used an "as.numeric" function to assign
that
2013 Apr 13
2
Comparison of Date format
Hi,
?In the example you provided, it looks like the dates in Date2 happens first.? So, I changed it a bit.?
DataA<- read.table(text="
ID,Status,Date1,Date2 ??? ??? ??????
1,A,3-Feb-01,15-May-01 ??? ???
1,B,15-May-01,16-May-01 ??? ???
1,A,16-May-01,3-Sep-01 ??? ??? ??? ??? ???
1,B,3-Sep-01,13-Sep-01 ??? ??? ??? ??? ???
1,C,13-Sep-01,26-Feb-04 ??? ??? ??? ??? ???
2013 Dec 13
2
how do I separete coloumns by comma?
Hi every one,
I have a text file like this:
1 4 4 1 6 23
1 4 2 2 3 28
1 4 5 1 2 24
1 2 3 1 1 24
1 2 3 1 2 40
1 2 3 1 4 22
I want to separate columns by comma, like this:
1,4,4,1,6,23
1,4,2,2,3,28
1,4,5,1,2,24
1,2,3,1,1,24
1,2,3,1,2,40
1,2,3,1,4,22
I used this code:
2009 Oct 26
2
help with linear model
Dear list,
I have been searching for a week to fit a simple linear model to my data. I
have looked into the previous posts but I haven't found anything relevant to
my problem. I guess it is something simple...I just cannot see it.
I have the following data frame, named "data", which is a subset of a
microarray experiment. The columns are the samples and the rows are the
probes. I
2010 Nov 17
3
stacking consecutive columns
I have a file, each column of which is a separate year, and each row of each column is mean precipitation for that month. Looks like this (except it goes back to 1964).
month X2000 X2001 X2002 X2003 X2004 X2005 X2006 X2007 X2008 X2009
1 1.600 1.010 4.320 2.110 0.925 3.275 3.460 0.675 1.315 2.920
2 2.960 3.905 3.230 2.380 2.720 1.880 2.430 1.380
2004 Jul 20
4
Some users cannot read mail: assertion failed
Hi all!
I am a recent user of dovecot. First of all, the migration from UW-IMAP was definitely
worth it. But now I've run into some troubles. Two of my users complain that they
can't read their Inboxes, but other folders work fine. The error message I get in the
logs look like:
lynx imap(gheorghe.bancos): file buffer.c: line 357 (buffer_set_start_pos): assertion
failed: (abs_pos
2017 Mar 21
3
Public share ask for a password
On Tue, 21 Mar 2017 16:21:23 +0100
"L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> Hai,
>
>
>
> I suggest NOT to use fstab but systemd startups if you on debian
> jessie.
>
>
>
> Get to know systemd and if you do i’ll bet you like it.
>
> I know only on that hates it.. dont you Rowland. ;-)
I am not the only one
2008 Oct 01
4
Pxelinux freezed
Some time ago, I sent a email to list. With my perfect english, wasn't
possible explain my problem, then I recorded a video, end upload to
youtube.
Please watch the video.
http://www.youtube.com/watch?v=z1KJ8sA4_5w
Samuel Rios Carvalho
2011 Oct 11
1
c6 xen guest install, golf, and geany
List,
Is it possible to do a text install (<512RAM) of C6 server, with support for X11 forwarding over ssh, and get geany (editor) to work over ssh?
I got X11 forwarding to work when I have a full Xfce desktop, but not with a server setup.
I would like to golf this... IOW find the minimum number of packages.
Any hints or kickstart configs for the needy?
--
Mark
2011 Mar 04
4
How two compare two matrixes
Dear all I have two 10*10 matrixes and I would like to compare theirs contents. By the word content I mean to check visually (not with any mathematical formulation) how similar are the contents.
I also know edit that prints my matrix in the scree but still one edit blocks the prompt to launch a second edit() screen.
What is the best way to compare these two matrices?
I would like to thank you
2007 Aug 25
2
Austin meetup?
Looks like I''ll be in Austin from Tuesday (late) night until Saturday
morning. Any Puppeteers in Austin who want to get together?
I''ve got vague plans to hang out with whurley, but I''d love to meet a
few more people in the community. Wednesday, Thursday, or Friday
night should work fine (although not all three).
--
Always behave like a duck - keep calm and
2008 May 07
2
[LLVMdev] [PATCH] Split LoopUnroll pass into mechanism and policy
On May 6, 2008, at 8:30 PM, Devang Patel wrote:
> Dan,
>
> On May 6, 2008, at 5:56 PM, Dan Gohman wrote:
>
>> This should still make it easy to write new unrolling passes with
>> custom heuristics, but it would also be more flexible for passes to
>> do unrolling in combination with other transformations.
>
> Do you mean unrolling during other transformation or
2007 Nov 23
1
Disconnected: Mailbox is in inconsistent state, please relogin
Bom dia,
Pessoal eu tenho um servidor HP Proliant ML 110 com 4gb de memoria e processador Xeon.
Minha distribui??o ? um Fedora Core 7 com Postfix + Procmail e este chama Spanassasim e Clamav
Para IMAP, POP3 utilizo dovecot.
Estava tendo o erro de Corrupted dovecot.index, atualizei da versao 1.05 para a 1.07
Agora o mesmo problema ocorre algumas messagens ficam presas na caixa e o usuario nao
2016 Apr 13
0
Decision Tree and Random Forrest
Tjats great that you are familiar and thanks for responding. Have you ever
done what I am referring to? I have alteady spent time going through links
and tutorials about decision trees and random forrests and have even used
them both before.
Mike
On Apr 13, 2016 5:32 PM, "Sarah Goslee" <sarah.goslee at gmail.com> wrote:
It sounds like you want classification or regression trees.
2016 Apr 15
1
Decision Tree and Random Forrest
I need the output to have groups and the probability any given record in
that group then has of being in the response class. Just like my email in
the beginning i need the output that looks like if A and if B and if C then
%77 it will be D. The examples you provided are just simply not similar.
They are different and would take interpretation to get what i need.
On Apr 14, 2016 1:26 AM,
2016 Apr 13
4
Decision Tree and Random Forrest
Ah yes I will have to use the predict function. But the predict function
will not get me there really. If I can take the example that I have a
model predicting whether or not I will play golf (this is the dependent
value), and there are three independent variables Humidity(High, Medium,
Low), Pending_Chores(Taxes, None, Laundry, Car Maintenance) and Wind (High,
Low). I would like rules like
2004 Jan 11
24
More words for Allison
Here's the latest batch of words to get shipped out to Allison Smith.
Please submit reasonably small changes to me by tomorrow 10:00 AM
Eastern time, and I'll add them.
As usual, donations to what will be a ~$110 USD expense would be
appreciated, as I am paying for this round out of my pocket. Please
send to paypal address "jtodd@loligo.com". I did not include all
2016 Apr 14
3
Decision Tree and Random Forrest
I still need the output to match my requiremnt in my original post. With decision rules "clusters" and probability attached to them. The examples are sort of similar. You just provided links to general info about trees.
Sent from my Verizon, Samsung Galaxy smartphone<div>
</div><div>
</div><!-- originalMessage --><div>-------- Original message
1998 Feb 13
1
Looking for a similar command from Samba
Greetings group,
I am looking for something from Samba that is similar to:
nbtstat -A xxx.xxx.xxx.xxx
In Windows 95.
This will give you back the registered name and some other Workstation info.
Thoughts:)
Thanks in advance!!!!
RJ Enterprises
http://www.rjent.pair.com
http://rjent.pair.com
Golf and FreeBSD are 2 of the nice things in life;)