Displaying 20 results from an estimated 352 matches for "birthing".
2007 Oct 26
1
finding birth position
Hi All,
I have data on the sequence of births for families with completed
fertility cycle (in a data frame); the relevant variables are called b1,
b2, b3, b4, b5, b6 and record the birth of the first, second, ..., sixth
child. So,
b1=1 if the first birth is male,
b1=2 if the first birth is female,
and b1=NA if the family did not record any first birth.
Similarly for b2, b3, b4, b5 and b6.
I
2010 Mar 13
2
Two questions, first about contingency tables, and second about table () and data.frame (), from a visually impaired user.
Hi all,
I want to make a contingency table in R. I want to tabulate two variables, one as the independent and second as the dependent variable. The IV has two categories, namely, birth complications, and no birth complications. The frequency of birth complication category is fifty, and the frequency of no birth complication category is 34. The categories and frequencies of DV follows.
2007 Dec 06
3
using "eval(parse(text)) " , gsub(pattern, replacement, x) , to process "code" within a loop/custom function
R-help users,
Thanks in advance for any assistance ... I truly appreciate your expertise. I searched help and could not figure this out, and think you can probably offer some helpful tips. I apologize if I missed something, which I'm sure I probably did.
I have data for many "samples". (e.g. 1950, 1951, 1952, etc.)
For each "sample", I have many data-frames.
2009 Nov 23
2
non-intuitive behaviour after type conversion
Deal list,
I have a data frame (birth) with mixed variables (numeric and
alphanumeric). One variable "t1stvisit" was originally coded as
numeric with values 1,2, and 3. After attaching the data frame, this
is what I see when I use str(t1stvisit)
$ t1stvisit: int 1 1 1 1 1 1 1 1 2 2 ...
This is as expected.
I then convert t1stvisit to a factor and to avoid creating a second
2008 Jun 13
2
Rails 2.1: invalid date automatically convertion
Hi all,
Rails 2.1 seems to converts the following parameters
{''birth(1i)''=''1990'', ''birth(2i)''=>''2'', ''birth(3i)''=>''31''}
into date ''1990-03-02'' automatically.
Is it able to inhibit this convertion?
--
makoto kuata
2008 Apr 18
2
naive question regarding running parallel C code from R
Hi,
I have only the vaguest notions of what parallel programing, but I think
I have a situation where it might be of use to me, or at least provide
me with the opportunity to learn more about it. Before I invest in
figuring out the nuts and bolts, can anyone confirm that this is a sane
approach, or provide alternatives that I could pursue?
I'm running stochastic simulations, with the actual
2008 Dec 13
4
Reuse of Cucumber Features
What''s the best way to handle a requirement that shows up as a
sub-requirement requirement in other features? For example let''s say users
can enter dates in various forms throughout my application. There is one
set of global rules specifying the formats in which dates may be entered,
and how they are interpreted. I put that in one feature. In various other
features, like
2011 Mar 19
3
Plotting graph problem!!
http://r.789695.n4.nabble.com/file/n3389613/Life_Expectancies_2008.csv
Life_Expectancies_2008.csv
I am trying to plot a histogram base on the file i uploaded above. I am
facing a trouble in sorting out the frequency of the life expectancies. I
wanted to plot a graph of life expectancies at birth versus frequency,but i
have no idea how to change the locations into frequencies taking the range
of
2009 Apr 23
1
Loess over split data
Dear R users,
I am having trouble devising an efficient way to run a loess() function
on all columns of a data.frame (with the x factor remaining the same for
all columns) and I was hoping that someone here could help me fix my
code so that I won't have to resort to using a for loop.
(You'll find the upcoming lines of code in a single block near the end
of the message.)
Here's a
2008 Nov 04
0
Spatstat - Birth Death Process Simulation
Hello,
I would like to use the spatstat package to generate realizations from a
spatial birth death process. The death rate is dependent on the pairwise
interaction function.
1 - I'd like to know how to define my own interaction potential function
2 - I'm not sure which model to use for a birth death process (my parameters
are the birth and death rates)
Any help would be greatly
2011 Jun 24
3
Fwd: Extract element of a list based on an index value
> Dear list,
>
> I have some data on a geneaology, here is a subset:
> warmerge[1:11,c(1,6,25)]
> Warrior SibID birth.year
> 1100 3793 2013 1926
> 4 2013 2024 1934
> 1094 3769 2024 1918
> 632 2747 2037 1928
> 176 2083 2039 1944
> 187 2085 2039 1949
> 192 2086 2039 NA
> 495
2011 Feb 08
2
delete a row in dataframe w/o changing indexing
Hi All,
I'm trying to delete a row from my dataframe "pop" without changing the
indexing (column 0) as follows:
>pop
id birth size xloc yloc weight energy gonad consumed
1 1 36 13 34 43 0 18 0 0
2 2 36 10 39 38 0 18 0 0
3 3 36 10 37 35 0 18 0 0
4 4 36 10 31 25 0
2011 Nov 03
2
query about counting rows of a dataframe
Dear R users,
I have got the following data frame, called my_df:
gender day_birth month_birth year_birth labour
1 F 22 10 2001 1
2 M 29 10 2001 2
3 M 1 11 2001 1
4 F 3 11
2020 Oct 23
1
Extracting data and saving in excel
Hi all,
I have a dataframe call "data", and have lots of rows. One of them
is data$`birth`
my data has been imported from an excel file in RSTUDIO
I want to obtain in a function all rows (with the names) where
data$`birth` is bigger than 1979/01/01 and extract in a excel file as an
output (a sub-excel of the original).
Can you guide with the functions I need to use?
I have been many
2010 Apr 21
2
calculating age from year of birth and date?
Hi,
I have v1 (date of test) and v2 (year of birth).
v1 v2
15.5.2008 88
18.6.2009 54
I want R to use only year in v1; and v2 see as 1988 and calculate age in v3.
any ideas how to do that?
--
**************************
Vlatka Matković Puljić
095/8618 171
[[alternative HTML version deleted]]
2010 Dec 31
3
survexp - example produces error
Dear All,
reposting, because I did not find a solution, maybe someone could
check the example below.
It's taken from the help page of survdiff. Executing it, gives the error
"Error in floor(temp) : Non-numeric argument to mathematical function"
best regards,
Heinz
library(survival)
## Example from help page of survdiff
## Expected survival for heart transplant patients based
2005 Jan 25
2
tapply and names
I have a data frame containing children, with variables 'year' = birth
year, and 'm.id' = mother's id number. Let's assume that all the births of
each mother is represented in the data frame.
Now I want to create a subset of this data frame containing all children,
whose mother's first birth was in the year 1816 or later. This seems to
work:
mid <-
2009 Apr 22
1
converting histogram to barchart
Hi list,
After a lot of tweaking i have managed to create a histogram with an
overlaying density plot. The histogram shows a sample of birth weights
of babies and the density plot shows birth weights from a much larger
reference populaton. My data is divided in 0.1 Kg bins so in the code
below binweigh=0.1.
The trouble with the current graph is that it is not very clear since
the density plot
2016 Nov 03
6
CTDB and locking issues in 4.4.6 (Classic domain)
On 03/11/16 19:37, Volker Lendecke wrote:
> On Thu, Nov 03, 2016 at 07:11:12PM +0000, Alex Crow via samba wrote:
>>
>> On 03/11/16 14:28, Ralph Böhme wrote:
>>>> Ah, my smb.conf is missing the "ctdb socket" parameter. According to "man
>>>> smb.conf" this should be set, but I don't remember seeing it on the wiki
>>>> pages.
2012 Dec 04
4
partial analisys of a time series
Dear list members
I want to analyze separately the months of a time series. In other words, I
want to plot and fit models for each month separately.
Taking the example of
http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12,