Displaying 6 results from an estimated 6 matches for "dimmestlem".
2011 Aug 02
3
Clean up a scatterplot with too much data
I'm working with a lot of data right now, but I'm new to R, and not very good
with it, hence my request for help. What type of graph could I use to
straighten out things like...
http://r.789695.n4.nabble.com/file/n3711389/Untitled.png
...this?
I want to see general frequencies. Should I use something like a 3D
histogram, or is there an easier way like, say, shading? I'm sure these
2011 Jul 09
3
Basic vector logic not working
I am interning in a computer science lab and I'm very new to R. The language
basics are clear, but this particular problem isn't:
I have a very large dataframe called "data" which holds data from Halo
matches. I'm trying to analyze a certain window such that data$deaths>20 and
data$deaths<=27.
When I enter the line
kills = data$kills[data$deaths>20]
or any single
2011 Aug 28
2
Function won't permanently assign values to a vector
I'm somewhat new to R, but I've had a lot of experience in Java.
I'm working on a function that takes data from a data frame, does some math
and assigns the values to a vector. Pretty simple. I plan to merge the
vector with the data frame when I'm done.
The vector is called offense1 (there will eventually be 2). I declared it on
its own, outside of the function. Right now its
2011 Jul 24
1
Histogram of a dataframe subset failing
Like most help forum users, I'm very new to R. I've been having this problem:
I started with a dataframe called fullData. With the subset command, I split
it into two separate dataframes, soloData and teamData.
The hist() function works when I use...
hist( subset(fullData, fullData$playlist_id==4 )$deaths)
...the exact call to subset() that I used to create each dataframe. However,
2011 Aug 30
1
"Negative length vector" error in simple merge
Hi,
I'm trying to take a vector (length almost 2,000,000) and merge it with a
data frame of the same length. I'm trying to do it solely based on index,
and not any other factors.
The vector is called "offense", and the data frame is just called "data". I
went with the simplest option:
merge(data,offense)
but it always gives me the same error:
Error in
2011 Jul 25
1
Trouble with line of best fit
I don't usually do much with graphs in R, and this is my first time adding a
line of best fit. Hopefully this is an easy problem to solve.
I'm looking at a variable called soloKills along the range 5:28. Here are
all my commands, in script form:
range=5:28
graph=soloKills
title="Solo kill/death data"
xlabel="Number of deaths/1 game"
ylabel="Mean number of kills/1