Displaying 10 results from an estimated 10 matches for "alinashe".
Did you mean:
aliasee
2009 Jan 21
2
Replacing dates with consecutive observations
I am working with a list of dates and I would like to replace each date with
the one that comes after, ie. 1/1/07 will become 1/5/07, 1/5/07 will become
1/7/07, etc. The number of days between my dates always varies, so I can't
just increase each one by 5 days or so. Does anyone know of a way I can do
this in R?
thank you
[[alternative HTML version deleted]]
2011 Jun 20
3
importing a file
I haven't used R in a couple of years, and now am trying something as
simple as importing a csv file and am running into problems right away.
*
mydata <- read.csv (Wordata1.csv, sep="")
Error in read.table(file = file, header = header, sep = sep, quote = quote,
:
object 'Wordata1.csv' not found
*I've tried in both as as read.csv and read.table and still get the
2011 Jun 21
5
converting character to numeric
I'm trying to convert data from character to numeric.
I've imported data as a csv file, I'm assuming that the import is a
database - are all the columns in a database considered "vectors" and that
they can be operated on individually
Therefore I've tried the following
mydata <- as.numeric(mydata$apples)
when i then look at mydata again the named column is still
2009 Mar 31
1
target of assignment expands to non-language object
I'm running the following code
numbers <- 1:50
for (i in 1:50)
assign(paste("model",numbers[i]),i)<-(lm(temp$Overall.Scaled.Score~temp$raw.score))
where I want R to create 50 different models-1:50, but get the following
error message
"target of assignment expands to non-language object". I've tried it with
2008 Nov 17
2
looking for matches
My question is probably pretty basic, but since I'm really new to R, here it
goes ....
I have two separate data frames that include class names and various other
information on classes. I'm trying to create a match based on class names
and if a match exists to create a third data frame with the class name.
I was hoping to accomplish this with sapply, but I can't figure out if I can
2009 Feb 19
2
colored maps again
I'm trying to create a colored map that would show the number of students
per state.
My data frame consists of two columns - state and count.
I'm using the following code
library(maps)
map("usa")
library(plotrix)
state.col<-color.scale(gre$count,0,0,c(0,1))
map("state",fill=TRUE,col=state.col)
I'm getting a map, but the values are not being mapped to correct
2009 Mar 04
1
mapping lat and long with maps package
I am trying to overlay a data frame with lat and longitude(which refer to
zip codes) on the map of US that I get by using map ("states").
Is there anyway to do this or do I have to resort to using maptools?
thank you
[[alternative HTML version deleted]]
2009 Mar 31
1
model selection using ANOVA
I've created a number of models using lm and now want to pick one with the
smallest standard error or the smallest RSS,
I can get a list of RSS using anova function, but is the any way I can then
select one with the smallest RSS from the list?
[[alternative HTML version deleted]]
2009 Apr 07
0
Europe zip code shapefiles
Hi all,
I'm looking for zip code shapefiles for Italy and France.Does anyone know
where I might be able to find these?
thank you!
[[alternative HTML version deleted]]
2009 Feb 17
2
creating a map
I'm trying to create a fairly basic map using R. What i want to get is the
map of the country with circles representing a count of students in each
state.
What I've done so far is as following -
map("state")
symbols(data1$count,circles=log(data1$count)*3,fg=col,bg=col,add=T,inches=F)
this gives me the map of the country, but one that's not populated by my
counts.
Does