Displaying 20 results from an estimated 10000 matches similar to: "R not recognizing words"
2010 Mar 16
2
Retrieving latitude and longitude via Google Maps API
Does anyone have any experience retrieving latitutde and longitude for
an address from the Google Maps API?
I'd like to have an R script that submits a street address, city, state,
and zip code and returns the coordinates. So far, I've been submitting
the coordinates from another program, then loading the coordinates in R
and merging them back into the data frame I want to use.
2010 Feb 23
1
Circles around letters or numbers in plot title
Has anyone ever tried putting a circle around a letter or a number in a
plot title?
For instance, if I have a plot title "Scatterplot for Subject 24", I
want to put a circle around 24 to distinguish that plot from the other
30 I've generated. Any tips or ideas beyond plotting a circle in the
margin?
Benjamin
Benjamin Nutter | Biostatistician | Quantitative Health
2012 May 25
4
Reading a bunch of csv files into R
Dear R users
I am struggling from a data importing issue:
I have some hundreds of csv files needed to be read into R for futher
analysis. All those csv files are named in one of the three formats:
(1) strings: e.g. London_Oxford street
(2) Integer: e.g. 1234_5678
(3) combined: e.g. London_1234
I intend to use read.csv("xxxx_xxx.csv") but I only dealt with
sigle documents before and
2012 May 02
5
R help!
Hello there, I was wondering if you could help me with a quick R issue.
I have a data set where one of the columns has both date and time in
it, e.g. "12/31/11 23:45" in one cell. I want to use R to split this
column into two new columns: date and time.
One of the problems with splitting here is that when the dates go into
single digits there are no 0's in front of months
2008 Sep 26
2
lsmeans
I hope you'll forgive me for resurrecting this thread. My question
refers to John Fox's comments in the discussion of lsmeans from
https://stat.ethz.ch/pipermail/r-help/2008-June/164106.html
John you said, "It wouldn't be hard, however, to do the computations
yourself, using the coefficient vector for the fixed effects and a
suitably constructed model-matrix to compute the
2007 Nov 16
1
How do I import packages with the package I've built?
I have successfully completed building a package to contain the
functions I commonly use. However, I need to have other packages
installed in order for some of my functions to work. I've been studying
the instructions on installing packages for about a month now, but still
haven't figured this one out. From what I do understand, to import
additional packages I need some combination of
2012 Oct 17
1
Comparing dcast and reshape
I'm in the middle of my own little intellectual exercise comparing
dcast() and reshape() and have successfully stumped myself. I want to
melt() a data frame, then dcast() it into a new form. After doing so, I
want to duplicate the process using reshape().
So far, I can do the melt and cast
require(reshape2)
Raw <- data.frame(site = c(1, 1, 1, 1, 2, 2, 2, 2),
id =
2009 Feb 02
2
parsing problem
Hi all,
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1 Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
5 500mg/kg
6 1000mg/kg
hear i tries for comverting it into numeric with using "as.numaric()"
function
but i got values like
5
6
2
3
4
1
it gives 1000mg/kg is the least one
but i have
2012 Feb 16
1
Reading Text Files with RODBC
I'm thoroughly stumped. I've been playing with RODBC and wanted to see if I could retrieve data from text files using this package as well (for the most part, this is an intellectual exercise, but occasionally I do get data files large enough in CSV format RODBC could be helpful) .
I set up a DNS called "Text Files" and then ran the following code in R
> library(RODBC)
2012 Jul 03
4
Help! Please recommend good books/resources on visualizing data and understanding multivariate relations...
Hi all,
Could you please help me?
I am looking for books/pointers/resources/tutorials on visualizing
complex/big data and on understanding multivariate relations in complicated
data.
More specifically, we have categorical variables and are interested in how
to visualize the categorical data and visualize data conditioned upon
categorical values.
Could anybody please give me some pointers?
2008 Dec 29
3
Normal Curve
Dear ALL:
How I show the area under the normal curve for example for the following example:
Assume X has N(100,15). How to show the area corresponding to the probability:
P(90<X<110)
With many thanks
Abou
==========================
AbouEl-Makarim Aboueissa, Ph.D.
Assistant Professor of Statistics
Department of Mathematics & Statistics
University of Southern Maine
96
2008 Jul 25
4
Matrix barplot
Hi,
as a bloody R beginner I failed to solve the probably simple problem
to create a barplot of the following data read from a file
Year A B C
2000 4 3 0
2001 2 1 3
2002 1 2 5
The Barplot should look like
5 | C
4 | A C
3 | AB C C
2 | AB A C BC
1 |
2008 Jul 05
2
Bland-Altman method to measure agreement with repeated measures
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080705/878753db/attachment.pl>
2011 May 24
1
Loading an S object into R
I hope you'll all forgive me for displaying my severe lack of knowledge on this topic, and I can't really provide much in the way of reproducible code.
A colleague of mine has asked if I know how to import an S object into R. The object is stored in a file named 'pre3.f' When I open the file as a text document I get what's printed below. Being one of those young bucks with
2000 Mar 20
3
: multinom()
Dear R users,
Does anyone know if it is possible to use multinom to do a polychotomous
fit using one categorical and one numeric variable as response. The
doc. for multinom states that for formula , response can be K>2 classes.
Is this 2 and more, or as I have understood it only greater than 2. I
have tried fitting my data, but have only encountered error messages.
On another note, Is it
2017 Jan 12
3
rgl
----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr]
Sent: Thursday, January 12, 2017 3:36 AM
To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
Subject: Re: [R-sig-Fedora] rgl
>One possibility is that you have the 32-bit version of mesa-libGL-devel installed. This will provide the headers but not the 64-bit l>ibrary which is what you need
2007 Oct 26
2
cut.dendrogram and cutree
Hi!
In the example:
hc <- hclust(dist(USArrests), "ave")
dend1 <- as.dendrogram(hc)
dend2 <- cut(dend1, h=70)
Do the branches "Branch 1", "Branch 2", "Branch 2"...in dend2$upper
str(dend2$upper)
--[dendrogram w/ 2 branches and 4 members at h = 152]
|--[dendrogram w/ 2 branches and 2 members at h = 77.6]
| |--leaf "Branch 1" (h=
2008 Oct 31
1
Is there a way to vectorize this? [with correction]
** Sorry to repost. I forgot to include a function necessary to make
the example work **
I apologize up front for this being a little long. I hope it's
understandable. Please let me know if I need to clarify anything.
Several months ago I wrote a series of functions to help me take my R
analyses and build custom reports in html files. Each function either
builds or modifies a string of
2008 Mar 28
1
Defining reference category for a cph model summary inside of a "for" loop
I have the following code.
> f <- cph(formula = Surv(TimeToDeath, Dead == "Yes")
~1,data=single.dat, x=T, y=T, surv=T)
> for(i in c('A', 'B', 'C', 'D', 'E', 'F')){
> f <-update(f,as.formula(paste('Surv(TimeToDeath, Dead ==
"Yes")~',i,sep='')))
> print(summary(f, paste(i,"=1st
2017 Jan 11
2
rgl
I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error:
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz'
Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) ==================================================
downloaded 2.3 MB
* installing *source* package 'rgl' ...
** package