similar to: help with using grid to modify ggplot/lattice plots

Displaying 20 results from an estimated 2000 matches similar to: "help with using grid to modify ggplot/lattice plots"

2011 Mar 31
2
how to do t-test in r for difference of mean
I am trying to do t-test to test whether the mean of one one column of the data frame is greater then another. please help me out. -- Arkajyoti Jana M. Phil/ 2nd semester Centre for Economic Studies and planning School of Social Sciences Jawaharlal Nehru University New Delhi-67 [[alternative HTML version deleted]]
2013 Aug 23
3
(no subject)
I am new to R. I have a data like: x y z w p .......... m 1 10 15 20 25 30 2 11 16 21 26 31 3 12 17 18 19 20 4 51 52 53 55 67 ....... thus I have 145 rows
2007 Apr 06
5
Labelling boxplot with fivenumber summary
I am very new to R so forgive me if this seems basic but I have done extensive searching and failed to come up with the answer for myself. I am trying to label a boxplot I have created with the values for the median, upper and lower quartiles and max and min values. I have been unable to do this or find anything on the net to say how it might be done. Is this possible and if so how? Regards,
2007 Feb 07
3
boxplot statistics in ggplot
I need to make weighted boxplots. I found that ggplot makes them. I would however like to label them with the boxplot statistics (the median, q1 and q3). In the boxplot function in r-base, I could output boxplot statistics and then write a text on the plot to place the labels. How would one do it with ggplot? Vikas
2008 Sep 04
1
how to match or merge data.frames in this case...
Hi, I'm trying to match two data frames in order to replace the boundary values in a dataframe.1 with values in dataframe.2 ONLY where the pair id1 id2 matches between the two data frames. Eg. > dataframe.1 ... id1 id2 boundary 3307 1095 1108 438.691 3308 1095 1109 438.691 3309 1095 1121 438.691 3310 1096 1109 438.691 ... 3345 1108 1120 438.691 3346 1108 1121 438.691 3347 1108
2005 Jan 28
1
Matrix multiplication in R is inaccurate!!
If you multiply a matrix by its inverse you should get an identity matrix. In R, you get an answer that is accurate up to about 16 decimal points? Why can't one get a perfect answer? See for example: c(5,3)->x1 c(3,2)->x2 cbind(x1,x2)->x solve(x)->y x%*%y Vikas Rawal ============================================== This Mail was Scanned for Virus and found Virus free
2004 Sep 28
3
add-on packages
I want to add RMySQL and RODBC packages to my R installation on redhat linux box. The command install.packages gives following output. What could be wrong? ******************** install.packages(RMySQL) trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 202145 bytes opened URL .......... .......... .......... ..........
2004 Oct 01
3
Reading multiple files into R
I want to read data from a number of files into R. Reading individual files one by one requires writing enormous amount of code that will look something like the following. **************** maptools:::dbf.read("wb-01vc.dbf")->dist1 maptools:::dbf.read("wb-02vc.dbf")->dist2 maptools:::dbf.read("wb-03vc.dbf")->dist3
2007 Feb 12
6
Boxplot: quartiles/outliers
For boxplot(), is it possible to pass in a parameter to change the default way that the 1st and 3rd quartiles are computed? (specifically, I'd like to use type 6 described in the quantile function). Also, what are the options for how outliers are computed, and how can one change them? Thank you [[alternative HTML version deleted]]
2008 Mar 07
2
training svm
What should I do if I need to train svm() with data having same value across all rows in some columns. These must be the important features of the class and we cant exclude these columns to build up models. The error I am getting is: Error in predict.svm(ret, xhold) : Model is empty! In addition: Warning message: In svm.default(datatrain, classtrain) : Variable(s) 'F112' and
2004 Oct 06
4
Problems with merge
This issue has been discussed on this list before but the solutions offerred are not satisfactory. So I thought I shall raise it again. I want to merge two datasets which have three common variables. These variables DO NOT have the same names in both the files. In addition, there are two variables with same name which do not necessarily have exactly same data. That is, there could be some
2011 Feb 28
1
plotting, graph, everything
I have this assignment to do and after ten hours of constant trying my eyes ache and i give up.. all i'm able to get is this plot please help me these are the commands i have used till now read.table(file.choose(), sep=";", header=T) read.table(file.choose(), sep=";", header=T)->areas melt(areas,id=c("Year","State"),m=c("Rice"))->
2009 Jan 22
1
ggplot2
I have been struggling to get the legends in ggplot2 right or do away with them altogether (on which I have already sent a post). In the following code, the labels argument in the scale_colour_gradient2 does not give me the desired labels in the legend. Could someone explain? qplot(Year,CDR,data=b3,colour=Phase,geom=c("point","line"),legend.position="bottom")->p
2007 Mar 27
2
problem with installation of packages
I am having a peculiar problem with installation of packages. I am trying to install the package "maptools". This is what I get. install.packages("maptools",depend=T) Warning in install.packages("maptools", depend = T) : argument 'lib' is missing: using /usr/local/lib/R/site-library Warning: unable to access index for repository
2004 Aug 24
2
Test of significance in estimation of correlation coefficients
I estimated spearman's correlation coefficient using cor(). How do I test for significance? Vikas
2016 Apr 28
2
Package to work with weight based data
Respected all, I am working on a socio-economic survey (named as National Sample Survey in India provided by National Sample Survey Organization, Govt. of India) data of individual as well as households. This is a sample survey where stratified random sapling method has been used to draw samples. The data set uses 'weights' to estimate figures for region, state or
2006 May 09
2
Problem creating new record
Hi I have two tables 1. devices 2. device_categories both associated with each other via foreign key device_category_id in device table. I use scaffold and create a base system. I associate the two models together via belongs_to declaration in device model, and has_many declaration in device_categories model. I also add a device category drop-down box on create page to select
2013 Jun 10
4
Combining CSV data
Hello R community, I am trying to combine two CSV files that look like this: File A Row_ID_CR, Data1, Data2, Data3 1, aa, bb, cc 2, dd, ee, ff File B Row_ID_N, Src_Row_ID, DataN1 1a, 1, This is comment 1 2a, 1, This is comment 2 3a,
2024 Aug 16
1
Is there some place where I can check a changelog / NEWS for the grid package?
On 16.08.2024 13:46, Iago Gin? V?zquez wrote: > Hi all, > > On one hand, I wanted to ask if there is some place where I can check a changelog / NEWS for the grid package, as it is not on CRAN. And in that case, where can I find it? Grid is part of R, hence you can look at R's NEWS, e.g. at <https://cran.r-project.org/doc/manuals/r-devel/NEWS.html> or directly in the svn
2011 Aug 22
3
automatic file input
Dear all, I have 100 files which are used as input.and I have to input the name of my files again and again.the name of the files are 1.out, 2.out......100.out. I want to know if there is anything like perl so that i can use something like this- for($f = 1; $f <= 100; $f++) { $file = $f.".out"; I have tried this thing in R but it does not work.Can somebody please help me.