Displaying 20 results from an estimated 1000 matches similar to: "Aggregation and the meaning of class"
2008 Apr 30
1
Aggregate() questions
Dear all --
I have a data frame containing data related to heat gain through
windows. The general form is ...
Key ProfA IAC <many other numeric columns>
AAA 0 .7
AAA 10 .6
AAA 0 .66
AAA 20 .45
(more AAA rows)
(then AAB rows)
'Key' identifies the physical configuration ... rows with a given Key
contain data for same window under various
2008 May 28
1
Grouped weighted.mean
Dear all --
I want to compute weighted.mean() for grouped rows.
Data frame extract is just below. For each Key, I want the mean of
IAC weighted by Wt.
DP0[1:20,]
Key
IAC Wt
2 C3-PD030020050.PD030020050.3.12.3.0 0.765 0.8590000
3 C3-PD030020050.PD030020050.3.12.3.0 0.764 0.8449651
4 C3-PD030020050.PD030020050.3.12.3.0
2008 May 05
4
Column renaming
Dear all,
Is there a less cumbersome way to rename a column by name (as opposed
to index) than --
names( X)[ names[ X] == "bob"]<-"sue"
?
A semi-related question: how does one get the index of a column by
name, something along the lines of col.index( X, "sue") ?
Chip Barnaby
---------------------------------------------------------
Chip Barnaby
2008 May 12
2
Collection of lm()s
Hello,
I would like to create a subscriptable collection (presumably a list)
of lm() models.
I have a data frame DX containing 6 groups of data. The general idea
is (NOT RUN) ...
for (i in 1:6)
{ DXS = subset( DX, <whatever>);
LMX[ i] = lm( <formula>, data = DXS);
}
Now access model results by subscript ... e.g. coefficients( LMX[
2]). Or would it be [[ 2]]?
I
2008 May 09
1
Data frame row manipulation
Greetings,
Q #1
------
How does one combine data frames by row ... no cleverness a la
merge(), just add rows.
For example, given A with 20 rows and B with 30 rows, I want C =
combine( A, B) having 50 rows.
Columns having matching names should be filled from both (all)
sources with suitable coercion, unmatched would get NA in rows whose
source does not have that column.
Q #2
------
Given
2008 Apr 07
2
predict.lm() question
Dear R-people ...
I'm a new user. I can't get predict.lm() to produce predictions for
new independent data. There are some messages in archived help about
this problem, but I still don't see my error after reviewing
those. I understand that the new independent data must have the same
name(s) as used when the model was made.
In the example below, predict.lm produces the
2009 Jul 06
4
problem with windows program in linux in virtual machine...
Hi,
I'm a complete linux newbie, let alone wine, easy-peasy and netbooks.
Having said that, I'm looking at buying the eee pc 701 sd and putting easy-peasy on it.
However the reason I need a netbook is to run a cricket scoring program that is only available in windows.
I didn't want to fork out for the netbook until I knew the cricket software will run, so I tried the following:
1.
2004 Jan 07
2
Problem with Syslinux 2.07 and APM on SMP system
Hi,
We have a problem with Syslinux 2.07 and APM on an SMP system.
When either network booting with pxelinux.0 or CDROM booting
with isolinux we get a kernel error message:
Jan 7 09:59:51 ddcserver1 kernel: kernel BUG at apm.c:1756!
Jan 7 09:59:51 ddcserver1 kernel: invalid operand: 0000
Jan 7 09:59:51 ddcserver1 kernel:
Jan 7 09:59:51 ddcserver1 kernel: CPU: 1
Jan 7 09:59:51 ddcserver1
2011 Jun 09
1
Error: missing values where TRUE/FALSE needed
I'm writing a function and keep getting the following error message.
myfunc <- function(lst) {
lst <- list(roots = c("car insurance", "auto insurance"),
roots2 = c("insurance"), prefix = c("cheap", "budget"),
prefix2 = c("low cost"), suffix = c("quote", "quotes"),
suffix2 = c("rate",
2004 Jun 08
1
data.frame size limit
Is there a limit to the number of columns that a data.frame can have? For
example, can I read.csv() a file that has 1000 columns and 10,000 rows,
will it break or is it limited by available memory.
...................................................................................
Philip Sobolik 781-862-8719 x111
Wrightsoft Corporation 781-861-2058 fax
394 Lowell
2006 Jan 17
1
Newbie question on using friedman.test()
I am trying to use the friedman.test() on a data frame, d, but
I am receiving the following error message:
> d
AW HS IAC WA
1 6 8 3 5
2 2 2 3 6
3 7 7 8 3
4 8 5 4 5
....
20 2 5 2 7
21 7 7 6 7
22 7 8 6 8
23 6 8 4 5
24 5 7 5 2
> friedman.test(d)
Error in any(is.na(groups)) : argument "groups" is missing, with no default
I think I
2011 Jun 09
2
Problem with a if statement inside a function
I have a really long functions, and at the end of the function, I am using a
if statement
to tag certain keywords based on whether they have certain values contained
in them.
However, the if statement doesn't seem to work.
When I had split up the commands into various functions, it worked fine, but
I'm not sure
what going on now that it's combined into a single function.
myfunc
2023 Jul 02
1
Strange error in R CMD check --timings
Am 02.07.23 um 18:01 schrieb Duncan Murdoch:
> This SO post: https://stackoverflow.com/q/76583828 describes a strange R
> CMD check error. Depending on the contents of a comment in one of the
> examples sections of a help page, an error like this could be triggered:
>
> > base::assign(".dptime", (proc.time() - get(".ptime", pos =
>
2023 Jul 02
1
Strange error in R CMD check --timings
This SO post: https://stackoverflow.com/q/76583828 describes a strange R
CMD check error. Depending on the contents of a comment in one of the
examples sections of a help page, an error like this could be triggered:
> base::assign(".dptime", (proc.time() - get(".ptime", pos =
"CheckExEnv")), pos = "CheckExEnv")
>
2006 Jul 13
7
system unresponsive after issuing a zpool attach
Today I attempted to upgrade to S10_U2 and migrate some mirrored UFS SVM
partitions to ZFS.
I used Live Upgrade to migrate from U1 to U2 and that went without a
hitch on my SunBlade 2000. And the initial conversion of one side of the
UFS mirrors to a ZFS pool and subsequent data migration went fine.
However, when I attempted to attach the second side mirrors as a mirror
of the ZFS pool, all
2011 Jun 09
1
Trying to make code more efficient
I have a repetative task in R and i'm trying to find a more efficient way to
perform
the following task.
lst <- list(roots = c("car insurance", "auto insurance"),
roots2 = c("insurance"), prefix = c("cheap", "budget"),
prefix2 = c("low cost"), suffix = c("quote", "quotes"),
2009 Feb 24
2
email stuck in outbox
Can anyone here help me out with a client side Outlook issue? I know
outlook is a horrible imap client :(
We intermittently have a problem where mail gets "stuck" in Outlook
users' outboxes.
Might have anything to do with dovecot? Is there anyway I can
troubleshoot this server side? Are there any settings I can tweak?
We have a new and an old dovecot server (see below) and both
2015 Apr 13
3
[Compile Issue] netcat.c on HP NonStop
Greetings,
I am porting the openssh-portable 6.8 release to the HP NonStop (NSE)
platform. Prior versions were no real problem, with minor tweeks. However,
with the inclusion of regress/netcat.c, which depends on arpa/telnet.h, we
have an issue. Unfortunately, the platform does not have this file, nor
anything like it - telnet is done rather differently. We do have a version
of netcat (0.7.1
2008 Feb 12
0
Lustre-discuss Digest, Vol 25, Issue 17
Hi,
i just want to know whether there are any alternative file systems for HP SFS.
I heard that there is Cluster Gateway from Polyserve. Can anybody plz help me in finding more abt this Cluster Gateway.
Thanks and Regards,
Ashok Bharat
-----Original Message-----
From: lustre-discuss-bounces at lists.lustre.org on behalf of lustre-discuss-request at lists.lustre.org
Sent: Tue 2/12/2008 3:18 AM
1999 Dec 06
1
Ugly patch to openssh-1.2pre15
Hi,
I am behind a firewall which does not permit connections to port 22, so I
run my ssh server on port 23. :-) Unfortunately, the stupid firewall
prints a few lines of junk when you make a connection to port 23 before
actually starting the connection. This confuses ssh.
Attached is an (ugly) patch against openssh-1.2pre15 which makes it ignore
a configurable number of lines while looking for