Displaying 20 results from an estimated 1000 matches similar to: "Male and female symbols?"
2004 Sep 16
3
Estimating parameters for a bimodal distribution
For several years, I have been using Splus to analyze an ongoing series of
datasets that have a bimodal distribution. I have used the following
functions, in particular the ms() function, to estimate the parameters: two
means, two standard deviations, and one proportion. Here is the code I've
been using in S:
btmp.bi <- function(vec, p, m1, m2, sd1, sd2)
{
2003 Jun 04
1
Looking for R analogue of S-plus function ms()
In S-Plus, there is a function ms() [minimum sums] that estimates parameters
in a multivariate model and returns, along with the estimates, a
loglikelihood score. It's very handy, but I have not found an R version yet.
Does anyone know if such a thing exists? Thanks.
Cheers, George
==================================================================
George W. Gilchrist
2005 May 13
2
Lattice plot within a "for" loop does not happen?
I am trying to do a series of xyplots plots, using a "for" loop to
substitute the appropriate variables for each plot. The basic command
works fine by itself and produces a nice plot:
> i<-3
> trellis.device(theme="col.whitebg")
> xyplot(as.formula(paste(tmp00[2*i], "~ ", tmp00[(2*i)-1],
+
2006 Sep 23
2
Create a vector of indices from a matrix of start and end points
I have a very large dataframe and wish to extract a subset of rows. I
have a two column matrix listing the starting and ending indices of
one subset on each row. My idea is to create a vector of indices that
could be applied to the dataframe and I have a solution using a for
loop (below). But surely there is some more elegant way to do this! I
looked thorough the archives without
2003 Jan 16
2
polynomial contrasts in R
In S-Plus, I can obtain polynomial contrasts for an ordered factor with
contr.poly(). The function also exists in R, however is limited to factors
where the levels are equally spaced. In S-Plus, one can obtain the contrasts
for a set of numeric values representing unequally spaced ordered factors.
Has anyone implemented this in R? I see that the S-Plus function calls
another function (poly.raw())
2007 Jun 21
1
Extract Df under lme4
I need to extract the degrees of freedom and log likelihoods from a
series of mixed models computed using lmer/lme4. If I ask for logLik
(lmer.object), I get something like
> logLik(lmer.object)
'log Lik.' -177.1000 (df=10)
Can I easily get that df from there (or elsewhere) into an object?
Thank you for any ideas.
George
2013 Jul 01
1
Male and female signs as subscript in plot
Hello,
I'd like to add labels to my plot that include a male or female symbol as
subscript.
I'm working in Windows Vista and R 3.0.0.
I am able to add the male symbol to the plot as regular text (NOT as
subscript), e.g. with:
mtext("Male\u2642")
This displays the word "Male" followed by the male symbol on the plot.
But "\u2642" does not work when I try to
2005 Mar 03
0
Baffled by drop1
I've been experimenting with drop1 for my biostatistics class, to obtain the
so-called Type III sums of squares. I am fully aware of the deficiencies of
this method, however I feel that the students should be familiar with it.
What I find baffling is that when applied to a fully balanced design, you
obtain different sums of squares. I've used this for several years in Splus
and R and never
2005 Mar 03
0
Baffled by drop1: Please ignore previous request!
My apologies to the list for sending this without adequate research. I have
found my answer; please ignore! Thanks.
I've been experimenting with drop1 for my biostatistics class, to obtain the
so-called Type III sums of squares. I am fully aware of the deficiencies of
this method, however I feel that the students should be familiar with it.
What I find baffling is that when applied to a fully
2004 Jul 22
2
exporting high quality graphics from R in Mac OSX
Hi there
The default option for saving graphics from R (1.9.1) on my Mac is as a
pdf file. If I open the file in Acrobat reader it looks really good and
crisp, and is obviously saved as vector graphics, since I can zoom in
as much as I like and it continues to look really nice. If I import it
into MS Word (from office 2000), or Textedit, however, it imports it as
a bitmap and unless I save
2006 Oct 17
4
Book recommendation for newbie to stats and R?
I'm trying to learn statistics and R at the same time. I have an
undergraduate science degree and one year of calculus (30 years ago),
but never took a stats course. I hope to take some stats courses in the
next year, but thought I would start to see how much I could teach
myself.
I work for an organization that analyses behavior change communication
programs regarding HIV/AIDS and
2006 Jun 08
2
Plotting female and male signs
Dear R-users,
Just like other users (as seen from previous posts on the list), I would
like to use female and male signs in plots. I found B. Ripley's post
about using Unicode characters. However, it doesn't works for me.
> text(locator(1),"\u2640") produces the following error:
Error: invalid \uxxxx sequence
But I can specify other Unicode characters as long I
2003 Jan 17
2
read.table bug in Mac OS X (PR#2469)
Full_Name: George W. Gilchrist
Version: 1.6.2
OS: OS X
Submission from: (NULL) (128.239.124.126)
Start with a tab-delimited or comma-delimited text file created on the Mac and
use read.table("filename.txt", header=T) to read it in. When the first column of
the file contains a character vector, and there is a header line, the first
letter of the first column of the fifth row is appended
2009 Mar 28
7
unicode only works with a second one
I'd like to paste a zodiac sign on a graph, but it only prints it when
I add another unicode ( \u3030) to the desired \u2648 - why?
See the examplecode (compare the orange with the skyblue):
plot(c(-1,1),c(-4,-2),type="n")
text(x=0,y=-3.0,labels="\u2648 \u3030",cex=2.3,col="skyblue")
text(x=0,y=-3.2,labels="\u2648",cex=2.3,col="orange")
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2002 Oct 31
7
Symbols for male/female
Dear all,
I would like to use the biological symbols for male and female as plotting
symbols in a scatterplot (ideally filled and non-filled). R does not seem
to have these symbols using pch= in plot() nor are they implemented via
expression() or at least I did not find them. I found that the symbols are
e.g. available in the wasysym and the marvosym package in LaTeX.
I have coded two very rough
2007 Apr 26
2
Changing Voice from Male to Female
Hi List,
I wanted to know if anyone knew of a way with asterisk to "switch the voice" of a caller from male to female or vice versa.
Thanks.
Dovid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070426/2d483875/attachment-0001.htm
2007 Oct 03
2
Windows OS, R and unicode
I'm trying to use the biological female and male signs in R2.5.1 under
Windows XP. I can access and insert these symbols using word-processors.
In general these should be available as \u2640 and \u2642 but I can't
make them happen in R using (say) text(5,5, "\u2640") message "invalid
\uxxxx sequence"
I've replaced Arial with Arial unicode MS in Rdevga and
2006 Jun 26
8
id of last element in a table
Hi,
I would like to figure out how to determine what the id of the last
element in a table is. Is there an equivalent to the Table.find() method
which will tell me the number of elements in a table? also, maybe more
importantly, where are the available methods on tables documented?
What i am trying to do is to increment the id and work through a table
and check whether the id i am currently
2008 Sep 12
4
reading in results from system(). There must be an easier way...
Hello,
I am currently using R to run an external program and then read the results
the external program sends to the stdout which are tsv data.
When R reads the results in it converts it to to a list of strings which I
then have to maniuplate with a whole slew of commands (which, figuring out how
to do was a reall challenge for a newbie like myself)--see below.
Here's the code I'm