similar to: Need help creating multiple datasets using loops or vectorization

Displaying 10 results from an estimated 10 matches similar to: "Need help creating multiple datasets using loops or vectorization"

2010 May 14
2
help color coding map in R
I am trying to create a map with selected states based on highest to lowest mean cost. The following code properly selects the correct states, and the legend is properly color coded with ranges, but the colors per range does not match the state colors. I need help getting the state colors to match the ranges outlined in the legend. I have tried ordering the mean amounts and this correctly creates
2010 Jan 07
1
Help formating data to display commas
I'm using the following code to create quartile intervals of my dataset and it is working like it is suppose too. In my final output of the data I would like currency amounts to be displayed with commas. I have not found an option either through FormatC or sprintf that will display the data with commas, they only seem to add decimals. Is there a format that will display commas without me
2009 Nov 13
1
need help formating plot axis to standard dollar formats
I create a lot of plots with a dollar amount as the y-axis. How do I change the formatting so comma and $ are in place. Like $1000,000 or to use common dollar abbreviations like 100K? Chris Anderson Data Analyst Medical Affairs wk: 925-677-4870 cell: 707-315-8486 Fax:925-677-4670 This electronic message transmission, including any attachments, contains information which may be confidential,
2009 Dec 15
1
Supressing Scientific Notation
I'm trying to display my deciles without scientific notation, but have not found an option that will allow me to do so. According to web searches, the options(scipen=999) should remove scientific notation, but it seems not too. Does this option work with quantcut function? Is there any other option that can be used? I am using verison 2.10.0. library(gtools) library(gdata)
2009 Dec 10
1
option for multi thread or multi core machines
I notice that R basic installation does not take advantage of multi-thread or multi-core processors. Is there an option for multi-threaded processors? I currently run all of my analysis on thinkpad laptop and most processing is very quick, however, when I run stepAIC with interaction terms it can take a couple of hours to complete. I have tried running the same process and a quad core machine 64
2010 May 04
1
help overlay scatterplot to effects plot
I have a process where I am creating a effects plot similar to the cowles effect example. I would like to add the point estimates to the effects plot, can someone show me the correct syntax. I have included the "R" effects example, so you can show me the correct syntax. Thanks mod.cowles <- glm(volunteer ~ sex + neuroticism*extraversion, data=Cowles, family=binomial)
2010 Jan 22
0
Help changing position of x-axis
I have plotted the dataset below into a stripchart, which gives me the correct graph. However, my x-axis labels are to long to display hortizonal. I would like to display the labels at a 45 degree angle so that all of the labels are displayed. I have used the following text+par code on other graphs and it seems to work fine, but it does not seem to be working on here. I notice when I output the
2010 Jul 09
0
syntax for highlighting table rows and columns using R plugin for spss
I am using the R plug-in for spss 18, and would like to know if there is any R code that will highlight and bold rows (particularly the "Totals" row) within an spss table. The current option that spss has is to use a python plug-in which doesn't seem to work on my windows 7 machine. Chris Anderson Data Analyst Medical Affairs wk: 925-677-4870 cell: 707-315-8486 Fax:925-677-4670
2011 Feb 04
0
switching y-axis to x-axis for qqmath
This is the qqmath example from the lattice package. I added the scales to the example. I would like to switch the axis and not sure how? Meaning I would like the "height" on the x-axis and the probability on the y-axis. Will you show me the correct syntax for this switch thanks. qqmath(~ height | voice.part, aspect = "xy", data = singer, prepanel =
2010 May 05
0
R-help Digest, Vol 87, Issue 5
Unsubscribe -----Original Message----- From: r-help-request at r-project.org Date: Wed, 05 May 2010 12:00:09 To: <r-help at r-project.org> Subject: R-help Digest, Vol 87, Issue 5 Send R-help mailing list submissions to r-help at r-project.org To subscribe or unsubscribe via the World Wide Web, visit https://stat.ethz.ch/mailman/listinfo/r-help or, via email, send a message with subject