Hello all
I have the data frame with this:
ID DATETIME TRN TRN_S
1 1192756 2010-06-23 15:39:07 13.420 0.2236667
2 1192757 2010-06-23 15:40:07 13.805 0.2300833
3 1192758 2010-06-23 15:41:07 13.860 0.231
4 1192759 2010-06-23 15:42:07 13.750 0.2291667
5
Hi list,
I just got stuck with this one:
In Data I have the sets age (numbers 1 to 99 and NA) and gender (M, F and
NA). Then getting some nice plots using
ggplot(data, aes(age[na.exclude(gender)])) +
geom_histogram( binwidth = 3, aes(y = ..density.. ), fill = lightblue )
+
facet_grid( gender
OK, any reason why ggplot2 does not allow filtering of NA?
ottar
On 6 November 2010 15:23, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote:
Create a subset of your data that excludes the NAs before you feed it to
ggplot.
Ottar Kvindesland ottar.kvindesl...@gmail.com wrote:
Hi list,
I
, 2010 at 3:24 PM, Ottar Kvindesland
ottar.kvindesl...@gmail.com wrote:
Thanks Hadley for taking the interest here.
The data sets are a bit large and I have placed them available for your
download on
http://master.kvindesland.no/R/
You will find datasets in both Rdata and dput format
On Sun, Jun 20, 2010 at 4:38 PM, Ottar Kvindesland
ottar.kvindesl...@gmail.com wrote:
I have a problem that puzzles me a bit today. When loading off data from
a
database and plotting using ggplot2, I wish to present data as a time
series
with time of day. The code is text-book like as shown
I have a problem that puzzles me a bit today. When loading off data from a
database and plotting using ggplot2, I wish to present data as a time series
with time of day. The code is text-book like as shown below:
# Fetch data
con - dbConnect(dbDriver(MySQL), user=user, password = pwd,
dbname=db)
Hi,
I am collecting replies from a survey and counts replies by the table()
function. The function below carries two
data frames and counts the observations of the findings in the first
parameter vector given the value of the second as shown in the code below.
My trouble is that the vector
After having read through some literature on R, I am happy with collecting
it, and visualizing numbers. Unfortunately I do find it hard to compare and
visualize string data. The data is from a LimeSurvey with lots of YES/NO or
multi-choice questions (check-boxes)
Among the check-boxes there a
Hello everyone,
I have a survey on LimeSurvey ( https://www.limeservice.com/ ) going and I
am preparing data analysis. Data exports to R dumps are completed and works.
I have slowly started learning R but would really appreciate some assistance
in helping me fly faster. I do understand that this
9 matches
Mail list logo