Hi R users
Imagine the table "base":
p=c("d","d","b","b","a","a")
q=c("v1","v2","v1","v2","v1","v2")
r=c(5,2,4,8,9,7)
base=data.frame(p,q,r)
base
p q r
1 d v1 5
2 d v2 2
3 b v1 4
4 b v2 8
5 a v1 9
6 a v2 7
How programming R to get this result:
Hi Greg
I downloaded the file "france.shapefiles.zip"
Then i unziped it.
There were 4 files interesting me:
- france_administrative.dbf
- france_administrative.prj
- france_administrative.shp
- france_administrative.shx
How can i do to read the map "france_administrative" with R
I tried this s
Hi R users
I need the map of France’s « communes » (towns) to build a map
Is there a way to get it?
More generally:
How to do to get the map of a country and its different geographical levels?
Best regards
--
View this message in context:
http://old.nabble.com/map-of-a-country-and-its-dif
Thank you David
David Winsemius wrote:
>
>
> On Oct 30, 2009, at 7:47 PM, CE.KA wrote:
>
>>
>> Sorry there was a mistake:
>
> I could not see what was different?
>
>>
>> Hi R users
>>
>> I want to do a multiple linear regression
ne and Gerontology
> School of Medicine
> Johns Hopkins University
>
> Ph. (410) 502-2619
> email: rvarad...@jhmi.edu
>
>
> - Original Message -
> From: "CE.KA"
> Date: Friday, October 30, 2009 7:48 pm
> Subject: Re: [R] Multiple linear regression
Sorry there was a mistake:
Hi R users
I want to do a multiple linear regression with R
With a normal model (Y=Cste+A1*X1+A2*X2) the program would be
lm(Y~X1+X2)
My model is Y=Cste+A1*X1+A2*X2 with the constraint A1=-A2
What is the program for such a model?
Best regards
--
View this message
Hi R users
I want to do a multiple linear regression with R
With a normal model (Y=Cste+A1*X1+A2*X2) the program would be
lm(Y ~X2+X2)
My model is Y=Cste+A1*X1+A2*X2 with the constraint A1=-A2
What is the program for such a model?
Best regards
--
View this message in context:
http://old.na
Hi R users
I used R to get the results of a linear regression
reg<-lm(y~x)
here are the results:
# Call:
# lm(formula = donnees$txi7098 ~ donnees$txs7098)
#
# Residuals:
# Min
Hi R users,
I have a big program
So in Rgui I can t see all the execution of it
Is there a way to ask R if there is "Errors" in my program
Sincerely yours
--
View this message in context:
http://www.nabble.com/Search-%22Errors%22-tp22687080p22687080.html
Sent from the R help mailing list archive
Hi R users,
Imagine the folowing data frame
19901991 1992
1 5 20 6
2 15 1 11
3 3 14 22
4 20 8 55
5 10 3 14
Is there a way to build a graphic in which:
- 1 c
Thank you
ryancw wrote:
>
> Not an R package, but EpiData is free software designed to to exactly
> this. It's a wonderful piece of software. Define fields, add annotations,
> provide defaults, provide allowable values or ranges, calculate one field
> based on entry to another, conditional ski
Hi R users,
Is there a Package in R to
- set up a questionnaire?
- enter data?
Best regards
--
View this message in context:
http://www.nabble.com/A-package-to-set-up-a-questionnaire---enter-data-tp20947237p20947237.html
Sent from the R help mailing list archive at Nabble.com.
Hi R users
I used the function line(x,y) and line(lowess(x,y)) to see the correlation
between 2 variables (x,y).
Here is my question:
is there a way to ask R to tell me the equation of
-this line : line(x,y)
-this curve: line(lowess(x,y))
Best regards
--
View this message in context:
http://www
Hi R users,
Is there a way to simplify this instruction:
ifelse(B=="0","A",
ifelse(B=="1","A",
ifelse(B=="2","A",
ifelse(B=="3","A",
ifelse(B=="4","A",
ifelse(B=="5","A",
ifelse(B=="6","A",
ifelse(B=="7","A",
ifelse(B=="8","A",
ifelse(B=="9","A","B"))
i am looking for something like this
Hi Søren,
http://jekyll.math.byuh.edu/other/howto/R/Rcmdr.shtml
Søren Højsgaard wrote:
>
> Dear all,
>
> On Windows XP with R 2.8.0, I get the error message below when I try
> install a package from the command line.
> (Installing as a local zip-file from the menu in the GUI works fine.)
Hi R users,
Imagine X as a data frame:
X=read.table(textConnection("
Var1 Var2
1 A H
2 B K
3 A H
4 B H
5 C L
"),header=TRUE)
closeAllConnections()
XX is a data frame
Var1 Var2
1AH
2BK
3AH
4BH
5CL
Y<-table
Hi R users
Imagine this data.frame:
>X
Var1Var2
A 22 13
B5 2
C12 8
D199
A,B,C,D are the rows names (or index)
Is there a way to create a new variable in this data frame
which name is Var3 and which contains the rows names:
Var1Var2
Thank you DAVID, GABOR, PHIL, WACEK, PETER and GREG
I tried:
Data2 <- data.frame(x=DATA$x, y = gsub('[^[:digit:]]', '', DATA$x), z=
gsub('[^[:alpha:]]', '', DATA$x))
and everything is ok
Wacek Kusnierczyk wrote:
>
> CE.KA wrote:
>>
>&g
Hello R users,
Imagine the data frame DATA with the variable x which is composed by numeric
and alpha caracters.
> DATA
x
1 12F
2 13 AD
3 356PO
4 1D
5 GRT
6 PO52
7 LN4Z
Is there a way to separarate x in 2 variables:
y: only numeric caracters
z: only alpha caracters
For exemple
19 matches
Mail list logo