Displaying 20 results from an estimated 1000 matches similar to: "constructing a data frame from ftable"
2010 Jun 21
1
using table and tapply?
Dear R People:
Here is a little section of a data frame:
> zzz[1:10,]
DATE GENDER AGE Co DEATH1
3945 2009-04-16 M 24 Botulinic 23
3851 2009-04-16 M 35 Constitutional 23
8495 2009-04-16 F 49 Constitutional 27
10967 2009-04-16 F 47 Constitutional 28
11164 2009-04-16 F 26 Constitutional 28
15220
2010 Jun 02
2
building time series/zoo/its from a data frame
Dear R People:
I have the following data frame:
> x.df
date cond freq
1 04/01/09 Fever 12
2 04/02/09 Fever 11
3 04/03/09 Fever 10
4 04/04/09 Fever 13
5 04/05/09 Fever 6
6 04/01/09 Rash 6
7 04/02/09 Rash 10
8 04/03/09 Rash 9
9 04/04/09 Rash 10
10 04/05/09 Rash 8
11 04/01/09
2010 Jun 21
0
using table and tapply? solved
Here is my solution:
tapply(zzz$DEATH1,zzz$GENDER,sum, na.rm=TRUE)
Dear R People:
Here is a little section of a data frame:
> zzz[1:10,]
DATE GENDER AGE Co DEATH1
3945 2009-04-16 M 24 Botulinic 23
3851 2009-04-16 M 35 Constitutional 23
8495 2009-04-16 F 49 Constitutional 27
10967 2009-04-16 F 47 Constitutional
2004 Jul 26
1
qcc package & syndromic surveillance (multivar CUSUM?)
Dear R Community:
I am working on a public health early warning system, and
I see that the qcc package allows for CUSUM and other statistical quality tests
but I am not sure if my project is a good match for qcc functions as written.
Any advice you may have is very much appreciated.
I have four years worth of daily counts of emergency room admissions for
different conditions (e.g. respiratory,
2007 Sep 13
2
beginner's questions ... sorry
I have 316 files. Each file represents a patient's breathing track
(respiratory signal recorded for a variable number of cycles). All files
have the same are made up of a header followed by a variable number of
records.
Each record contains 7 comma separated fields.
The patient ID is recorder in the header which is stripped off when reading
the file into a R data.frame.
Since I need to keep
2004 Aug 19
1
GEEs for time series data
I want to run a GEE for a time series of counts. The data are daily
respiratory mortality counts and so there aren't any 'clusters' in the
longitudinal sense. Neither the gee or geese packages work. The gee one
wont run at all and the geese one produces NaNs or just runs
indefinitely depending on how long the time series is. Any ideas how to
make these work of any other packages that
2007 Sep 10
1
is clustering analysis possible with R ?
I have 316 files storing a number of cycles of the respiratory signal
from 316 different patients. Each file record is made up of the
following data:
amplitude,phase,timestamp,validflag,ttlin,mark,ttlout
amplitude: is the position in cm relative to an arbitrary reference
(signal amplitude)
phase: is the phase value for the current sample (the time point at
which the breathing signal was
2009 Jan 26
1
Sweave'ing Danish characters
Hi,
I am writing an Sweave document and am using 'xtable' to make frequency tables of diagnoses of people undergoing cholecystectomy. Some of these diagnoses contain Danish characters ("?", "?", and "?"), and these characters are all garbled in the Latex document after I run Sweave. The odd thing is, everything looks absolutely right in the R console, and if
2010 Nov 25
3
How to "bin"/average" time points?
Dear all,
I am pretty new to R only having an introduction course, so please bare with
me. I am doing my PhD at The Max Planck Institute of Immunobiology where I
am analyzing some calorimetry data from some mice.
I have a spreadsheet consisting of measurements of the respiratory exchange
rate at different time points measured every 9 minutes over some days.
My goal is "bin"/average the
2007 Nov 30
1
Help with tables
Hello, I'm new using R and developing tables.
I have a problem in developing a table. In a questionaire I made I ask this
question "Please tell me the first three sympthoms caused by Respiratory
tract infection you've caught this year", then the people answer three
sympthoms, the first mention (Top of mind) is saved in a variable called
"P2_A", the second mention in
2008 Apr 02
4
Updating Dovecot package?
Does anyone know if upstream ever plans on updating the dovecot package to a non RC version or to even one of the RC versions that isn't so insecure,
And by insecure, I of course refer to the recent rash of bugs which have been found.
Thanks,
-Drew
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2002 Jul 30
1
Comparison of two time series using R
We have two time series: the first is a series of weekly counts of
isolates of RSV (respiratory syncytial virus) by pathology laboratories,
and the second is a series of weekly counts of cases of bronchiolitis in
young children presenting to hospital emergency departments.
Bronchiolitis in young children is usually caused by RSV infection, and
simple visual inspection reveals a very close
2010 Jun 29
3
merging/intersecting 2 data frames
Dear R People:
I have two data frames, a.df and b.df as seen here:
> a.df[1:10,]
DATE GENDER PATIENT_ID AGE SYNDROME
1 4/16/2009 F 23686 45 RASH ON BODY
2 4/16/2009 F 13840 35 CANT URINATE
3 4/16/2009 M 12895 30 BLURRED VISION
4 4/16/2009 M 18375 33 UNABLE TO VOID
5 4/16/2009 M 2237 44
2010 Nov 02
4
Debian/squeeze: domU live migraton hangs
Hi,
In view of the problems I was having with DomU network timeout after a
live migration (I posted that problems here a while ago but never got
anything except from private emails) I finally updated my
Debian/Squeeze Dom0s last night to a new kernel, from 2.6.32-23 to
2.6.32-26.
Now live migration just hangs...Any ideas?
Xen-related Debian packages (all from Debian repositary, except drbd
2009 Aug 28
4
progress of sound update -- REVISED
Change -- The program I test with is Dragon NaturallySpeaking.
Yesterday's Ubuntu updates produced a rash of pulseaudio changes, and suddenly alsa works with wine, without stumbling.
Today's secret to making it work:
In System/Preferences/Startup applications, uncheck pulseaudio
sudo apt-get install esound
sudo nano /etc/pulse/client.conf
autospawn = no
Then every time your computer
2016 Apr 27
3
Semi-OT: very weird vi behaviour
> Date: Wednesday, April 27, 2016 13:43:00 +0000
> From: "Vanhorn, Mike" <michael.vanhorn at wright.edu>
>
> On 4/27/16, 9:39 AM, "centos-bounces at centos.org on behalf of
> m.roth at 5-cent.us" <centos-bounces at centos.org on behalf of
> m.roth at 5-cent.us> wrote:
>
>> And now, I just
>> ssh'd in from another windows, same
2008 Dec 10
3
AFR healing problem after returning one node.
I've got configuration which in simple includes combination of afrs and
unify - servers exports n[1-3]-brick[12] and n[1-3]-ns and client got
cluster configuration:
volume afr-ns
type cluster/afr
subvolumes n1-ns n2-ns n3-ns
option data-self-heal on
option metadata-self-heal on
option entry-self-heal on
end-volume
volume afr1
type cluster/afr
subvolumes n1-brick2
2023 Feb 13
4
[Bug 3539] New: sshbuf memory leak in recv_rexec_state()
https://bugzilla.mindrot.org/show_bug.cgi?id=3539
Bug ID: 3539
Summary: sshbuf memory leak in recv_rexec_state()
Product: Portable OpenSSH
Version: 9.1p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
2012 Oct 05
5
Missing data (Na) and chi-square tests
Dear everyone
I am a bit of a computer imbecile and are having problems with R.
I am using R in my research project to do chi-square tests on data imported
from excel .
However I have som missing data in one of my variables (columns) and I need
R to "exclude" these and make chi-square test on the data that I have.
I use a formula to make 2x2 tables which is:
data <-
2004 Jun 22
1
Need for advise for Correspondence Analysis
Dear R users,
I m quite a novice in using R for factor analysis and I would need some help to choose the right function.
I have a contingency table and I would like to perform a Correspondence analysis on this table, followed by a hirarchical clustering of my variables projected in on the first principal components.
Here are my question :
- what is the more appropriate function to do so ...