similar to: function editing?

Displaying 20 results from an estimated 20000 matches similar to: "function editing?"

2003 Jan 02
3
random number generation
Can a single random number be generated in R? I have an exercise that wants to simulate coin tosses, and I cannot seem to find a good example of the use of random number generation in R. Any help? Joshua Gramlich Chicago, IL
2003 Feb 13
1
pie charts?
I don't suppose it's possible to create a pie chart in R? I've got 1500 some odd elements in a frame that are valued at either -1, 0 or 1 and I'd like to find a reasonable way to represent the distribution graphically...any ideas? Joshua Gramlich Piocon Technologies Chicago, IL
2003 Feb 17
1
R environment advice?
Hello, My questions are meant to be not necessarily specific...I am looking for advice and best practices for setting up an R environment. Here's my situation: I am one of perhaps three or four individuals who will be analyzing the same data through the use of R. I would like to set up a "base" environment for our project, basically some scripts that connect to a database, load
2003 Feb 17
2
Graphing
I think this may be a histogram, but I'm not sure. Can anyone tell me how to replicate this graph in R? http://www.ginworks.com/images/multitot.gif Thanks, Joshua Gramlich
2003 Feb 11
4
postgres
Is anyone using R with postgres? I'd like to do so, but cannot seem to find any reasonable explanation of how to do so. Joshua Gramlich Chicago, IL
2003 Jan 03
3
Packages w/ S4 classes in C?
Hello ... Does anyone know of a package (or other code) out there which has handled S4 classes in C? I realize that a lot of this stuff is fairly new in R-devel, so my assumption is no - but there seems to be some deviation from the green book that is really throwing me off, and I'm looking for some sort of front-to-back example. Thanks -Jeff
2006 Mar 18
0
No subject
One quirk to be watched is the use of connections to the DBMS via the Unix sockets vs ports. The PostgreSQL driver bundled with unixODBC will use Unix sockets to `localhost', but this driver seems unreliable (see the ChangeLog). The current driver will only use a TCP/IP port, and to use that needs postmaster started with the -i flag (which is not the default) and with tcp/ip
2013 Aug 27
1
error installing ggm package
I'm new to R and trying to use the ggm package and I get the following message: > library("ggm", lib.loc="/Library/Frameworks/R.framework/Versions/3.0/Resources/library") Loading required package: graph Error: package ‘graph’ could not be loaded In addition: Warning message: In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) : there is no
2009 Feb 11
2
Label bars in a faceted bar plot in ggplot2
Hi List, I am running R 2.8.0 on a Windows XP machine, running ggplot2 version 0.8.1 I want to label the bars in a faceted grid barplot. Reproducible R code is given below: #### reproducible facet barplot ##### library(ggplot2) # Dataset from which to create the barplot ml <- rep(1:10,2) vals <- rnorm(20,mean = 10, sd=1) type <- c(rep("MAPE",10),rep("AIC",10))
2000 Aug 04
2
pattern on bars?
Colors are real nice, but the publication I'm preparing these barplots for permits only black and white. The Splus plot options ``dbangle'' (or plain ``angle'') and ``density'' (as on p. 65 of MASS 1st ed.) don't seem to be available in R. Is there another way to do this? I'm running R 1.1.0 on Linux (intel). Thanks.
2007 Mar 02
1
barplot with different color combination for each bar
Hi, I'd like to construct a somewhat unusual barplot. In "barplot" I use beside=F as I'd like to have stacked bars. The height of each bar is always the same. Information in my plot is coded in the color of the bar. I therefore need to be able so assign a different combination (or order) of colors to each individual stacked bar. In the example below, the combination of
2002 May 19
3
How to shade part of a density plot
I'm trying to shade part of a density plot. The code I'm trying (using the Old Faithful data as an example) is something like this: # The Old Faithful geyser data data(faithful) d <- density(faithful$eruptions, bw = "sj") plot(d) polygon(d[d$x>4], col = "wheat") I expected that the part of the curve to the right of 4 on the x axis should be shaded, but nothing
2009 Jul 23
3
How to pass a character argument which contains expressions to arg.names in barplot?
Hi all Can anybody help me with this? I am trying to include in an automatic way the argument in arg.names in a barplot. I generate the labels I want to appear below the bars with a for loop, and they contain subscripts, so I need to use expression anch<-0.05 esp<-4 for (i in 1:dim(Ntot)[1]) { naux<-Ntot[i,] naux2<-naux[naux>0] nind<-which(naux>0)
2006 May 16
1
memory
To whom it may concern, I seem to be encountering RAM problems using R. I am currently running R 2.2.0 in Windows XP version 2002. My computer has 4 GB of RAM. The problem I am encountering is that R does not seem to allow me to obtain more than 1.5GB of RAM as I construct various matrices. I have already pre-allocated 3.5 GB of RAM as in the command line I entered under
2016 Dec 15
3
OT: Blank mails from this list
On 12/15/2016 02:44 AM, Sorin Srbu wrote: >> -----Original Message----- >> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Sorin Srbu >> Sent: den 15 december 2016 08:16 >> To: CentOS mailing list <centos at centos.org> >> Subject: Re: [CentOS] OT: Blank mails from this list >> >>> -----Original Message----- >>> From:
2007 Jun 08
3
Barplots: Editing the frequency x-axis names
Hi I have a timeSeries object (X) with monthly returns. I want to display the returns with a barplot, which I can fix easily. But my problem is labaling the x-axis, if I use the positions from the timeseries It gets very messy. I have tried rotating and changing the font size but it doesn't do the trick. I think the optimal solution for my purpose is too only display every second or third
2011 Feb 28
1
Robust variance estimation with rq (failure of the bootstrap?)
I am fitting quantile regression models using data collected from a sample of 124 patients. When modeling cross-sectional associations, I have noticed that nonparametric bootstrap estimates of the variances of parameter estimates are much greater in magnitude than the empirical Huber estimates derived using summary.rq's "nid" option. The outcome variable is severely skewed, and I am
2016 Dec 15
2
OT: Blank mails from this list
On 12/15/2016 05:13 AM, Sorin Srbu wrote: >> -----Original Message----- >> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of >> geo.inbox.ignored >> Sent: den 15 december 2016 11:28 >> To: centos at centos.org >> Subject: Re: [CentOS] OT: Blank mails from this list >> >> >> >>> Ok, can view the source now. >>>
2001 May 24
1
Labels perpendicular to axis
I would like to make my horizontal barplot vertical axis labels perpendicular to the axis. I tried las=1, srt=90; I even tried yaxt='n' thinking I'd put the labels in using mtext, but the axis continued to be drawn. Can anyone help me with this? My barplot() statement looks like this: barplot(height=foo$rebint[o1], names=foo$Unit[o1], horiz=TRUE, col=mycolors[foo$type[o1]],
2012 Feb 21
2
Dataframes in PLS package
I have been working with the pls procedure and have problems getting the procedure to work with matrix or frame data. I suspect the problem lies in my understanding of frames, but can't find anything in the documentation that will help. Here is what I have done: I read in an 10000 x 8 table of data, and assign the first four columns to matrix A and the second four to matrix B pls <-