Displaying 2 results from an estimated 2 matches for "storelist".
Did you mean:
store_idt
2004 Apr 04
1
How to improve this code?
...in the store's Trade Area, I'd like the
output file have nothing written to it . How can I do that?
All help is appreciated.
Thanks,
Danny
*********************************************************
library(fields)
#Format of input files: ID, LONGITUDE, LATITUDE
#Generate Store List
storelist <- cbind(1:100, matrix(rnorm(100, mean = -60, sd = 3), ncol
= 1),
matrix(rnorm(100, mean = 50, sd = 3), ncol = 1))
#Generate Customer List
customerlist <- cbind(1:10000,matrix(rnorm(10000, mean = -60, sd =
20), ncol = 1),
matrix(rnorm(10000, mean = 50, sd = 10), ncol = 1))
#O...
2010 Nov 02
1
Using data( ) in a loop
I'm trying to generate 50+ graphs using the UScensus2000tract data. I
need to access the data for just about all of the states, so I was
hoping to create a simple loop that will take the relevant state from my
data and load the associated census data from the UScensus2000tract
package. Below is a sample of what I'm trying to do. Any suggestions
are much appreciated.