Displaying 20 results from an estimated 20000 matches similar to: "Data frame query"
2010 Mar 11
6
tm[,-1]
This does what I was hoping it would:
aggregate(tm[,-1],by=list(tm[,10]),FUN="mean")
but I don't know what "tm[,-1]" means (well - the -1 bit anyway.
Does it somehow means the whole matrix?
Please don't tell me to check the manual - I tried and failed dismally...
--
View this message in context: http://n4.nabble.com/tm-1-tp1588804p1588804.html
Sent from the R
2010 Mar 09
8
Deltas or changes
How can I generate a vector of differences between each elemtn of an vector?
i.e. a[i]=x[i]/x[i-1]
--
View this message in context: http://n4.nabble.com/Deltas-or-changes-tp1585960p1585960.html
Sent from the R help mailing list archive at Nabble.com.
2012 Nov 24
2
Building factors across two columns, is this possible?
I am trying to make it so two columns with similar data use the same internal numbers for same factors, here is the example:
> read.csv("test.csv",header =FALSE,sep=",")
V1 V2 V3
1 sun moon stars
2 stars moon sun
3 cat dog catdog
4 dog moon sun
5 bird plane superman
6 1000 dog 2000
> data <-
2004 Jun 10
1
Domain problem with NT4 & Samba 3.0.2a
All,
I really need some help. I'm putting samba up on a new windows domain
called SIERRA. I'm using Samba 3.0.2a on Solaris 8. I'm barely
knowledgeable on Windows NetBIOS... but am good with Solaris. The
status is that I've got the daemons running and working normally. I
have 1 desktop with 1 PDC & 1 BDC in the SIERRA domain. On the desktop,
I can see both DC's but
2003 Oct 09
2
Not able to invoke swat
Hi
I have configured samba (version 2.2.7a) on Linux 9. Now I am facing a
problem like
I am able to invoke the swat in the local machine (http://localhost:901
<http://localhost:901/> ), But I am not able to invoke the swat from
other machine.
Let us consider
Localhost name is moon (linux machine)
Another machine is mars (Win 2k)
I am able to invoke swat from
2005 May 06
1
shutdown and console messges
Just a minor irritation.
1. When I shutdown from the GDM menu, most of the time the screen goes
black and none of the "stopping..." messages are visible until just
about the time the mounted filesystems are shutdown, about three lines
before acpi poweroff.
2. Always when I shutdown from my desktop manager (IceWm in my case),
I get all the messages immediately. Once in a blue moon, this
2015 Dec 06
2
lunar notation in crontab
Crontab offers many refined facilities for Western calendaring, but none
for traditional Eastern-- lunar-- designations. So for example, if one
wants specify regular occurring events on full moons or on new moons,
there is no way to do this. Emacs (a text processor!?) accomplishes
this. The math for calculating lunar calendaring is already available;
mathematical functions are already
2010 Apr 12
2
Excel date to R format
I have searched and tried to read before posting but can find nothing to
accomplish change Excel dates in double format to R
Can someone please help
I have a vector of double like this from Excel.
39965.0004549653
and I want to put them in R such that I can display them in any Date and
Time format.
as.Date does it ALMOST but chops off the fractional seconds. POSIXct doesn't
appear to do
2010 Mar 11
1
Group by
I have a matrix with a POSIXct as a numeric in the first column.
I would like to create a new matrix that is "grouped by" my chosed time
bars.
i.e. So I would like to group by hour or day or 5 days, and have all my
columns be summed or averaged or counted..
mydata:
V1,V2,V3
10:03:13,3.4,1002
10:03:14,5.6,1001
10:05:27,7.2,999
10:05:33,8.2,998
I want to convert this into say 5
2010 Mar 18
1
how to return "date" part of POSIXct
How do I get a number representing a date from a POSIXct i.e. removing the
time elements?
--
View this message in context: http://n4.nabble.com/how-to-return-date-part-of-POSIXct-tp1598109p1598109.html
Sent from the R help mailing list archive at Nabble.com.
2010 Mar 17
3
Date conversion issue
I am parsing dates as follows:
> z[1:10,1:3]
V1 V2 V3
1 0 03/02/09 22:20:51.274
2 100 03/02/09 22:28:18.801
3 200 03/02/09 22:33:33.762
4 300 03/02/09 22:40:21.826
5 400 03/02/09 22:41:38.361
6 500 03/02/09 22:42:50.882
7 600 03/02/09 22:45:19.885
8 700 03/02/09 22:48:55.558
9 800 03/02/09 22:51:21.112
10 900 03/02/09 22:58:41.860
2009 Dec 20
2
ogg "chapters"?
i'm thinking about albums like "dark side of the moon" and also live bands
(especially live-pa) and DJs where there's a continuous flow from one song
to the next...
i could use a MKV file with vorbis or mp3 and include a chapter listing
[with named chapters], that would allow listening to the whole thing with
no skipping between songs. at the same time, a listener can skip
2009 Apr 20
1
doing zero inflated glmm for count data with fmr
Hello R users,
Doing My PhD I collected count data which I believe is zero inflated. I have
run a statistical model with lmer and family=poisson and got
summary(model)@sigma=1 so I believe there is no overdispertion. I would
like to use the fmr function from the 'gnlm' library but I just cannot
figure out from the examples in the help page and some forums out there how
to convert the lmer
2024 Jan 30
2
Basic astronomy package recommendation wanted.
On Tue, 30 Jan 2024, Richard O'Keefe writes:
> Given
> - UTC timestamp
> - a location (latitude,longitude,elevation)
> I want to know
> - the sun angles
> - the moon angles
> - the phase of the moon.
> I looked on CRAN for astronomy, but didn't notice anything that seems
> to offer what I want. I could try coding these functions myself, but
> "if
2010 Mar 12
5
Help on getting help from manuals
Hi,
A number of people have suggested "I read the manuals"...
Could someone help me by telling me where the primary start point is please?
For example, I am interested in writing functions with variable number of
arguments - where should I start to look?
"An introduction to R" only show a brief example - with no pointer to where
to find further data.
I can't do ?xxx
2010 Nov 29
2
FW: how to use by() ?
Thank you for the suggestion, Bill. The result is not quite what I would like. Here's sample code for you or anyone else who may be interested:
Al1 = c('A','C','C','C')
Al2 = c('G','G','G','T')
Freq1 = c(0.0078,0.0567,0.9434,0.9908)
MAF = c(0.0078,0.0567,0.0566,0.0092)
m1 = data.frame(Al1=Al1,
2000 Oct 27
1
missing def file in vorbis win32 build stuff
I was just trying to build the shared lib stuff and include it into RC4
of FreeAmp 2.1 today, but I found that the .def file for the vorbis
build stuff is missing and therefore no .lib file is generated.
Is there a reason for that, or is it just an omission? In any case, I
will hold off on the latest and greatest vorbis stuff in FreeAmp until
next week....
--ruaok Freezerburn! All else
2024 Jan 30
1
Basic astronomy package recommendation wanted.
Given
- UTC timestamp
- a location (latitude,longitude,elevation)
I want to know
- the sun angles
- the moon angles
- the phase of the moon.
I looked on CRAN for astronomy, but didn't notice anything that seems
to offer what I want. I could try coding these functions myself, but
"if you didn't write it you didn't wrong it".
2010 Mar 05
1
Data frame column
I have a big data frame and I have extracted a bit by doing:
> y<-d[1:10,6]
> y
[1] Headings 0 -49 -98 -49 -41 -120 -155
-204 -169
92329 Levels: -0 -1 -10 -100 -1000 -10000 -10001 -10002 -10003 -10004 -10005
-10006 -10007 -10008 -10009 -1001 -10010 -10011 -10012 -10013 -10014 -10015
-10016 -10017 -10018 -10019 -1002 -10020 -10021 -10022 -10023
2024 Jan 30
1
Basic astronomy package recommendation wanted.
There is also the package solrad that might do some of this. It is more intended for calculating solar radiation, which is probably not what you want, but may do other things you may find helpful.
> On Jan 30, 2024, at 5:44?AM, Enrico Schumann <es at enricoschumann.net> wrote:
>
> On Tue, 30 Jan 2024, Richard O'Keefe writes:
>
>> Given
>> - UTC timestamp