Displaying 20 results from an estimated 700 matches similar to: "family"
2011 Feb 18
3
recoding a data in different way: please help
Dear R users
The following question looks simple but I have spend alot of time to solve
it. I would highly appeciate your help.
I have following dataset from family dataset :
Here we have individuals and their two parents and their marker scores
(marker1, marker2,....and so on). 0 means that their parent information not
available.
Individual Parent1 Parent2 mark1 mark2
1 0 0
2007 Aug 09
7
Integrating polymorphic models into controllers views? how?
I''m having trouble trying to get this to work.
How the heck do you get a polymorphic controller to work? Especially
integrating it with a view?
Let''s say that we have shows, and episodes, then comments.
A show has many episodes, an episode has many comments.
the route is /shows/1/episodes/1/
Now to add a comment to that episode, how would I do it? Let''s say
that the
2006 Mar 22
10
Need for multiple acts_as_list
I have a model "Childmodel" that belongs_to two other models "Parent1"
and "Parent2". "Parent1" "has_many :childmodels, :order => :positionp1"
and "Parent2" "has_many :childmodels, :order => :positionp2". i.e. The
child is independently positioned within each of its parents.
This works fine and gets me the useful
2010 Jun 02
1
how to label the som notes by the majority vote
HI, Dear R community,
I am using the following codes to do the som. I tried to label the notes by
the majority vote. either through mapping or prediction.
I attached my output, the left one dont have any labels in the note, the
right one has more than one label in each note. I need to have only one
label for each note either by majority vote or prediction.
Can anyone give some suggestions or
2009 Apr 23
1
Excluded directories at rsync (was "--filter, missing in action")
On Thu, 23 Apr 2009 17:32:37 +0200
Paul Slootman <paul+rsync@wurtel.net> wrote:
> --delete-excluded will screw this up.
Yes, this is why I don't use it. This is probably a bug because the
excluded directories with "- DIR/**" will became empty on all receivers
(SLAVE hosts). But with just "--delete" the excluded directories are not
synchronized with the MASTER
2020 May 29
2
migrating dovecot to new server
> On 29/05/2020 20:12 Ralph Seichter <abbot at monksofcool.net> wrote:
>
>
> * David Mehler:
>
> > I'd ideally like to back up all the mails in the maildir location,
> > copy that over, load in my configuration files, and bring the system
> > back up.
>
> I don't think this qualifies as "ideal" for migration. My recommendation
2007 Oct 26
1
[Fwd: Re: subsetting]
Sorry that I was unclear. For an individual to qualify for my analysis I
want both of the following two criteria to be fulfilled:
First, I want to select measurement taken at a certain age: for the
focal individual the year of measurement (year) should be the same as
year.hatch
Second, I want the focal individual to be born by a mother that
reproduces for the first time.
So the /parents /of
2008 Oct 20
3
valid users and file permissions
Hi people,
I'd like to understand valid users and file permissions better. I have a
share which is not behaving as I expect.
[family]
path = /home/shares/family
create mask = 0664
directory mask = 0775
force group = parental
guest ok = No
valid users = @parental, @family
writeable = Yes
in Group parental are mum & dad; in group family are mum, dad and offspring.
With file permissions
2009 Oct 21
1
re ferring to data of previous rows
Dear Rlers,
in the following dataset I would like to insert a new column that refers to
the data of the previous row.
My question is whether the probability of a female (Id) changes if she had
given birth to a pup in the previous year. So my dataframe consists of the
column Id, year (2003-2007 for each Id) and offspring (=of; 1-0):
Id year of
1 2003 1
1 2004 0
1
2006 Dec 02
1
Chi-squared approximation may be incorrect in: chisq.test(x)
I am getting "Chi-squared approximation may be incorrect in:
chisq.test(x)" with the data bleow.
Frequency distribution of number of male offspring in families of size 5.
Number of Male Offspring N
0 518
1 2245
2 4621
3 4753
4 2476
5
2010 Mar 23
2
rsync: connection unexpectedly closed (0 bytes received so far)
Please forgive my digging up a two year old thread, but I've got the
same problem, but the pointers there give no help. This is using
versions 3.0.6 (server) and 3.0.7 (client).
Unfortunately, I have to type the client stuff in by hand. ("Secured"
laptop with highlighting & copying disabled.) Anyway:
$ rsync -vvvvvv -a -e ssh --recursive gdoc rsync-acct at 99.99.99.99::doc
2010 Jan 10
1
How to control number of significant digits (figures) in y-axis?
Dear R users,
I encounter a problem regarding number of significant digits on y-axis.
Below is my basic code:
myplotkid<-xyplot(expected_offspringnumber~afr|decade,groups=SES,data1,
auto.key=list(space="right"),layout=c(9,1),xlab="",ylab="Offspring number",
aspect="fill",scales=list(x=list(draw=F)),strip=T)
>From this code, you can see there are 9
2004 May 12
4
non-interactive call to R (running an R package as a stand-alone application)
Is there a way I can have R automatically execute the commands in a source file without ever having to use R interactively? If so, what arguments should I pass to the UNIX call to R? I need to do this to run several R jobs in parallel.
An alternative may be to have R and an R package behave as a stand-alone application that can be called from the UNIX command line. Is there any documentation on
2011 Nov 11
3
COPILOT Glucose Meter COM problem
I am a 62 year old beginner in Ubuntu. Thanks for any help, guidance, suggestions on this problem!
I have used commands like the following to be certain that I have an active com port:
dmesg | grep ttyS
rm com1
ln -s /dev/ttyS0 com1
So I suspect the solution lies somewhere in WINE.
If all else fails I will get a USB to SERIAL converter cable and try that.
My wife has an Abbott Labs Freestyle
2008 Sep 05
2
using nls to fit a curve to data
Hi,
I am trying to fit a curve to data. My command line is:
model10=nls(offspring~((A*c^k)/gamma(k))*((degdays-alpha)^(k-1))*exp(-c*(degdays-alpha)),
start=list(A=30,k=2,c=.018,alpha=131))
I get the error message:
Error in numericDeriv(form[[3]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
In addition: Warning message:
full precision was not
2005 Jul 08
1
Overlying a Normal Dist in a Barplot
R-Users,
Hopefully someone can shed some light on these questions as I had
little luck searching the archives (although I probably missed something
in my search due to the search phrase). I estimated multinomial
probabilities for some count data (number successful offspring) ranging
from 0 to 8 (9 possible response categories). I constructed a barplot
(using barplot2) and I want to
2009 Jun 26
2
Matching data to a new column
Hi all,
I wonder if anyone can help,
I have a dataframe with columns for...
'I.D' 'age' 'mothers I.D'
01 5 03
02 6 06
03 16 NA
04 8 06
05 3 NA
06 17 NA
I need to create a new column for 'mothers age' which puts the age of the individual with 'mothers i.d' into the row for her offspring (so
2010 May 16
2
sample
Hi,
I am sampling two random columns from females and two random columns
from males to produce tetraploid offspring. For every female I am
sampling a random male.
In the end I want to write out a a matrix with all the offspring, but
that does not work. I get always only the offspring from the last
females. There must be a mistake in my script:
moms<-read.delim("females.txt",
2004 Sep 20
2
installing on alpha
I am trying to install R-1.9.1 on an alpha (Tru64 unix) platform. I had no
problem previously installing R-1.4.0, but cannot get the new installation
to work. First I ran "configure" specifying an alternate installation
directory:
./configure --prefix=/appl/R-1.9.1
then ran "make" (note that this is NOT gmake, which may make the
difference). The error message I
2004 Sep 20
2
installing on alpha
I am trying to install R-1.9.1 on an alpha (Tru64 unix) platform. I had no
problem previously installing R-1.4.0, but cannot get the new installation
to work. First I ran "configure" specifying an alternate installation
directory:
./configure --prefix=/appl/R-1.9.1
then ran "make" (note that this is NOT gmake, which may make the
difference). The error message I