Re: [R] Unable to reference variable created in dataframe

2012-08-21 Thread slavrenz
That simple code works for me as well, but for some reason my actual code still isn't working. Here is exactly what I'm doing: - The code for importing my data is: /Bridges = read.csv(file = "C:/R/Bridges.RData.csv", head=TRUE, sep=",")/ - Within my group of highway bridges, I have defined a su

Re: [R] Unable to reference variable created in dataframe

2012-08-21 Thread slavrenz
Wow, sometimes writing it all out does really help to see the issue. I now see that I need to run the "log" command before splitting my data into a subset, or it won't see the newly created variable. My code now runs without issue. Thanks for everyone who took the time to read this and/or help. I

[R] Unable to reference variable created in dataframe

2012-08-20 Thread slavrenz
Hello, I have question about referencing a variable that I created in a dataframe, and I am hoping the experts on here can be of assistance. I have a dataset of highway bridges with approximately 10,000 observations. I imported these into R in the form of a dataframe called "Bridges". I am interes

Re: [R] Displaying data in Trellis

2012-04-18 Thread slavrenz
By the way, as I've been reading through some other posts on here, let me clarify that this isn't for a homework assignment or anything. This is something I am working on as part of my dissertation. -- View this message in context: http://r.789695.n4.nabble.com/Displaying-data-in-Trellis-tp456792

[R] Displaying data in Trellis

2012-04-18 Thread slavrenz
This is a question relating to the Trellis function in R. I have a set of socioeconomic data that I would like to display with the xyplot() function for several states. I will have a total of 6 plots, with the y-variable as "Age Group", and the x-variable as "Median Income". Suitability of the plo