similar to: How to output R image to a file?

Displaying 20 results from an estimated 11000 matches similar to: "How to output R image to a file?"

2008 Sep 02
1
question about GLM
Hello R-users, I do not have much knowledge about generalized linear models therefore my question maybe quite stupid. I have data from 20 towns with their population and number of people with an illness from those towns. I would like to use glm function in R so I can calculate proportions of ill people (and later on produce confidence intervals). I also want to compare those with original
2008 Aug 12
1
Problem with using read.csv with web address
Hello, I have a problem with using read.csv(). I want to read a table from the ONS neighborhood statistics website which has an address:
2007 Jan 14
4
Controlling size of boxplot when it is added in a plot
Greetings, I am trying to add a boxplot to the bottom of a histogram, right between the histogram bars and the x axis. Here is the code I am using at the moment (the par line is probably not relevant for our discussion): hs <- hist(x, breaks = 20, plot = F) par(mar = c(3,3,2,1)) hist(x, breaks = 20, main = NULL, ylim = c(-2, max(hs$counts))) boxplot(x, horizontal = T, axes = T, add =
2012 Jan 31
1
Currency symbols in Xtick or Ytick labels
How do you label Xtick and Ytick marks with Currency symbols: $2000 instead of 2000? I would like to add dollar symbols to tickmarks on boxplots, histograms and back-to-back histograms. My Examples (requiring the lattice and Hmisc packages): data(case0102, package="Sleuth2") str(case0102) boxplot(Salary~Sex, case0102) histogram(~ Salary | Sex, data=case0102) require(Hmisc) #
2017 Jul 09
2
Histogram plots in Lattice with spatialgrid dataframe data
Hi all, I can not seem to get what I want using the Lattice package to generate an array of histograms of spatialgrid dataframe data. I can use the sp package and spplot to generate an array of maps that display an array of spatialgrid dataframe data -- that's good. I have:
2006 May 30
11
Another String Manipulation Exercise
Hi guys, And I thought it wasn''t a problem. Here''s my string "/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg" How do i take out all the text that comes before "mypic.jpg"? Trickier than I first thought. TIA, Bing -- Posted via http://www.ruby-forum.com/.
2010 Jan 11
3
Illustrating kernel distribution in wheat ears
Dear all R2.10 WinXP I have a dataset dealing with the way different wheat cultivars build their yield. Wheat ears are organised in spikelets where the spikelets can be numbered from the bottom, with even numbers on one side and odd on the other. I know how many kernels there were in each spikelet after some months spent counting them... Now I want to illustrate the differences between the
2017 Jul 09
0
Histogram plots in Lattice with spatialgrid dataframe data
Hello all, After more digging I was able to find out how to do this. The answer came from an example here: https://stackoverflow.com/questions/3541713/how-to-plot-two-histograms-together-in-r yr_1997<-data.frame(bias=ann_bias$bias1997) yr_1998<-data.frame(bias=ann_bias$bias1998) yr_1999<-data.frame(bias=ann_bias$bias1999) yr_2000<-data.frame(bias=ann_bias$bias2000)
2010 Dec 20
4
Time Series of Histograms
Dear List, I have a set of distributions recorded at an equal interval of time and I would like to plot them as series of horizontal histograms (with the x-axis representing time, and y-axis representing the bins) since the distribution shifts from unimodal to multimodal in several occasions. What I would like to see is something close to a violinplot, but I do not want a kernel density
2017 Jul 10
1
Histogram plots in Lattice with spatialgrid dataframe data
Glad you found an answer, though it looks more self-educational than efficient (see suggestions below). In the future, follow the recommendations of the Posting Guide: use plain text, and provide a reproducible example. Some elaborations on what "reproducible" means are [1][2][3]. One issue here was that you did not include sample data to work with (I have assumed below that ann_bias has
2007 Jun 14
3
problem with hist()
Hey everybody, I try to make a graph with two different plots. First I make a boxplot of my data. It is a collection off correlation values of different pictures. For example: 0.23445 pica 0.34456 pica 0.45663 pica 0.98822 picb 0.12223 picc 0.34443 picc etc. Ok, I make this boxplot and I get for every picture the boxes. After this I want to know, how many correlations per picture exist. So I
2004 Jun 08
3
Comparing two pairs of non-normal datasets in R?
Hi all, I'm using R to analyze some research and I'm not sure which test would be appropriate for my data. I was hoping someone here might be able to help. Short version: Evaluate null hypothesis that change A1->A2 is similar to change C1->C2, for continuous, non-normal datasets. Long version: I have two populations A and C. I take a measurement on samples of these
2010 Jun 18
1
ggplot2 boxplot: horizontal, univariate
In ggplot2, I would like to make a boxplot that has the following properties: (1) Contrary to default, the meaningful axis should be the horizontal axis. Lattice does this, for instance, by library(lattice);bwplot(~mtcars$mpg) (2) It is *univariate*, i.e., of a single vector, say mtcars$mpg. I do not wish to make separate plots for the different values of mtcars$cyl. (3) Nothing on the
2008 Jan 31
1
how to customize boxplot
Dear List, I'd like to make boxplots of a large number of observations (+/- 20.000), which are distributed log-normal and right skewed. The problem is that with standard boxplots a too large number of observations are displayed as outliers. I also tried to display the log of the observations, but even then there are to may outliers to my taste. So I'd like to change the standard IQR box
2011 Aug 10
1
setting the screen background with gconftool-2
I centos 5 I can run this command: su myuser -c "/usr/bin/gconftool-2 -t string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/images/mypic.png" and this works fine. under centos 6 it does not appear to be working... I can run the similiar --get command and it tells me its set to what I asked for. However the screen is not showing mypic.png I can use
2011 May 06
1
Weighted box or violin plots in Lattice?
Is it possible to create weighted boxplots or violin plots in lattice? It seems that you can specify weights for panel.histogram() and panel.densityplot(), but not for panel.bwplot or panel.violin(). Please let me know if I've missed something in the package documentation. Thanks! -- Raphael D. Mazor Freshwater Biologist Southern California Coastal Water Research Project 3535 Harbor Blv
2006 Jun 06
9
How to protect images from public?
Hi, I''m trying to figure out the best way to protect images uploaded by users who may wish to keep them private. For example, if they are uploaded in the default file_column location (/public/blah/blah/1/) then someone can simply type the URL http://www.blah.com/blah/blah/1 and get the image. I can store the images in a non-public directory in the rails app (ie: /railsapp/images/X/)
2006 Mar 24
1
Sweaving in png
Hello list, despite I already posted a mail on this topic on R help, I guess this place may be more appropriate. I'll make it shorter this time. Sorry for posting twice. I found that using pixmap pictures in a Sweave document was sometimes almost impossible, due to the huge size of the pdf pictures produced. The first solution I found was to save pictures in png, when too heavy in pdf.
2005 Oct 04
6
boxplot statistics
I have read and reread the boxplot and the boxplot stats page, and I still cannot understand how and what boxplot shows. I realize that this might be due to me not knowing enough statistics, but anyway... First, how does boxplot determine the size of the box? And is the line inside the box the mean or the median (or something completely different?) And how does it determine how long out the
2001 Jul 25
1
Floating point "fuzz" and rpart?
I've been using rpart with R (1.3.0 Windows) for some time. I recently ran one of my research data sets through the rpart routine and produced a classification tree. I tried to replicate the results of the rpart analysis on another machine of mine and discovered some startling differences in the results. Puzzled, I went back to the raw data residing on both machines. I printed out