Displaying 20 results from an estimated 900 matches similar to: "Logistic regression"
2009 Nov 30
2
Ggplot2: Elegant Graphics for Data Analysis (Use R) (2009 Paperback)
Is this book worth its dollar? If so, why?, if not, why not?
Cheers.
--
View this message in context: http://n4.nabble.com/Ggplot2-Elegant-Graphics-for-Data-Analysis-Use-R-2009-Paperback-tp931702p931702.html
Sent from the R help mailing list archive at Nabble.com.
2011 Dec 21
3
black and white in qplot? layout 4 graphs in one screen
Hello,
I am trying to plot means and standard errors conditioned by a factor, using
qplot. I am successful at getting the bar graph I want with a error bar,
however I have tried many things and cannot get the bars to change colors.
Currently showing as red and blue, but need it to be black and white for
publication. Any suggestions please?
Using a data set June, which is str:
2009 Nov 03
6
one long column of data -> three small columns
say i have a column of data like this...
2
3
4
2
1
6
6
4
7
and i want it in three columns like this
226
314
467
...so i can make a contour plot.
How do i do this?
--
View this message in context: http://old.nabble.com/one-long-column-of-data--%3E-three-small-columns-tp26163165p26163165.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 28
3
Whats happening to the forum???
Whats happening? everthings changing round here...plus alot less
posts/users..
--
View this message in context: http://n4.nabble.com/Whats-happening-to-the-forum-tp913858p913858.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 13
4
cleanse columns and unwanted rows
hello folks,
Im trying to clean out a large file with data i dont need.
The column im manipulating in the file is called "legal_status"
There are three kinds of rows i want to remove. Those that have "Private",
"Private (Op", or "Unknown" in the legal_status column.
I wrote this code but i get errors and it says im missing a TRUE/ False
thingy...im
2009 Nov 21
4
other decriptive stats packages
i just found the following list, i wondered if anybody could add to this as i
have to characterize a large data set and am new to R...the list below was
so helpful....can you add to this???
Just to forestall confusion amongst those who would like to use one of
the functions called "describe"...
Hmisc package - describe
numeric
name
count of observations
count of missing
2009 Nov 04
2
enter "missing" into missing fields
if ive got an incomplete data set thats got thousands of rows and 80 columns
with random missing fields...like this say...
3 b 3
4 1
1 x 2
? how do i turn it into....
3 b 3
4 missing 1
1 x 2
...i.e., i want to insert the word "missing" into the fields that are empty?
--
View this message in context:
2010 Jan 28
3
weighted least squares vs linear regression
I need to find out the difference between the way R calculates weighted
regression and standard regression.
I want to plot a 95% confidence interval around an estimte i got from least
squares regression.
I cant find he documentation for this
ive looked in
?stats
?lm
?predict.lm
?weights
?residuals.lm
Can anyone shed light?
thanks
Chris.
--
View this message in context:
2006 Nov 27
2
NaN with ccf() for vector with all same element
hello,
i have been using ccf() to look at the correlation between lightning and electrogamnetic data. for the most part it has worked exactly as expected. however, i have come across something that puzzles me a bit:
> x <- c(1, 0, 1, 0, 1, 0)
> y <- c(0, 0, 0, 0, 0, 0)
> ccf(x, x, plot = FALSE)
Autocorrelations of series 'X', by lag
-4 -3 -2 -1 0
2009 Nov 08
1
Turn dates into age
Ive got a big column of dates (also some fields dont have a date so they have
NA instead),
that i have converted into date format as so...
dates<-as.character(data[,"date_commissioned"]); # converted dates to
characters
dates[1:10]
[1] "19910101" "19860101" "19910101" "19860101" "19910101" "19910101"
"19910101"
2009 Nov 16
1
printing a single row, but dont know which row to print
I have 20 columns of data, and in column 5 I have a value of 17600 but I
dont know which row this value is in (i have over 300,000 rows).
I'm trying to do 2 things:
1) I want to find out which row in column 5 has this number in it.
2) Then I want to print out that row with all the column headers so i can
look at the other parameters in the row that are associated with this value.
How do i
2009 Nov 22
4
how do i persuade IT to install R on PCs ?? ...and should I ??
Please help me persuade IT to install R on my computer!
All suggestions welcome.
Our IT department run scared when you mention software that they have no
working experience of.
I need to know the pros and cons of having R on corporate desktops.
Please no funny stuff, this is quite a serious issue for us.
Pros and cons would be good.
Thanks.
--
View this message in context:
2005 Sep 16
1
About princomp
Hi,
I run the example for princomp for R211
I got the following error for biplot
> ## The variances of the variables in the
> ## USArrests data vary by orders of magnitude, so scaling is appropriate
> (pc.cr <http://pc.cr> <- princomp(USArrests)) # inappropriate
Erreur dans cov.wt(z) : 'x' must contain finite values only
> princomp(USArrests, cor = TRUE) # =^=
2009 Dec 04
1
categorical vs numerical
What ways are there to plot categorical vs numerical data in R.
I have two columns: one with categorical data in 5 categories a,b,c,d,e, and
a numerical column with integers between 1 and 100.
I have used a boxplot with a,b,c,d,e on the x-axis and an increasing
numerical scale on the y-axis. This look fine but im looking for other ways
to present the data.
What other ways can i do this???
--
2011 Feb 02
2
Help me apply mapply
Hello all I would like to ask your help use mapply.
I have a function called findCell that takes two arguments(x,sr)
where x is a vector of size two (e.g x<-c(2,3) and sr is a matrix.
I would like to call many times the findCell function (thus I need mapply) for different x inputs but always for the same sr.
as x is a vector of size two (two cells) I want to pass inside inside the following
2008 Mar 25
1
Subset of matrix
Dear R users
I have a big matrix like
6021 1188 790 290 1174 1015 1990 6613 6288
100714
6021 1 0.658 0.688 0.474 0.262 0.163 0.137 0.32
0.252 0.206
1188 0.658 1 0.917 0.245 0.331 0.122 0.148 0.194
0.168 0.171
790 0.688 0.917 1 0.243 0.31 0.122 0.15 0.19
0.171 0.174
290 0.474
2009 Nov 14
1
re move row if the column "date_abandoned" has a date in it
I want to go through a column in data called
date_abandoned....data["date_abandoned"]....and remove all the rows that
have numbers greater than 1,010,000.
The dates are in the format 20091114 so i'm just going to treat them as
numbers for clean up purposes.
I know that i use subset but not sure how to proceed from there.
--
View this message in context:
2009 Nov 16
1
non homogeneous poisson process
I want to do a non homogeneous poisson process model in R.
Any advice, or know of places where i can get some, ive googled it but
nothing came up relating to R.
--
View this message in context: http://old.nabble.com/non-homogeneous-poisson-process-tp26378037p26378037.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 21
1
what do i do to fix missing packages...see error
> exampledata <- rnorm(10000)
> summary(exampledata)
Min. 1st Qu. Median Mean 3rd Qu. Max.
-4.030000 -0.666200 -0.023390 -0.009384 0.664700 4.092000
> desc <- function(mydata) {
+ require(e1071)
+ quantls <- quantile(x=mydata, probs=seq(from=0, to=1, by=0.25))
+ themean <- mean(mydata)
+ thesd <- sd(mydata)
+ kurt <-
2008 Mar 28
2
Comparing proportions between groups
Hello there,
I have two groups (men and women) and I know per group how many of them
smoke or don't smoke (women 40 of 200; men 100 of 300). I would like to know
how I can compare in R if men and women differ significantly in their
smoking. However, because there are more men in the sample than women I
cannot just compare the number of smokers and non-smokers in both groups,
right?! (I would