Displaying 20 results from an estimated 70000 matches similar to: "how to display a dataset on a dialog window"
2007 Jul 18
1
Saving a dataset permanently in R
HI:
I'm still struggling with datasets, the more I read
about it the more confussed I get. This is the
scenario... In R console|Edit|Data Editor, I can find
all the datasets available with the different
packages, So to create a new dataset in the R console
I use the following commands to create an empty data
frame.
My_Dataset <- data.frame()
My_Dataset <- edit(My_dataset)
The problem is
2008 Aug 10
2
detect if data is normal or skewed (without a boxplot)
Hello all:
Is there a way to detect in R if a dataset is normally distributed or skewed without graphically seeing it? The reason I want to be able to do this is because I have developed and application with Visual Basic where Word,Access and Excel "talk" to each other and I want to integrate R to this application to estimate confidence intervals on fish sizes (mm). I basically want to
2007 Aug 16
2
R graphics display window
Hi all:
How can the R graphics window be customized
programmatically? Either minimized,maximized or change
the size of the default that ships with R.
Thanks
Felipe D. Carrillo
Fishery Biologist
US Fish & Wildlife Service
Red Bluff, California 96080
2002 Aug 06
0
Getting a GUI to work with Vorbis code
I am trying to create a Graphical User Interface for a Vorbis Player under
MS Visual C++ 6.0
I was initially trting to use the code from decoder_example.c but I keep
getting linker errors.
I have set up my project as told to by James Boer on this mailing list.
This is as follows:
This document was prepared from an email received from James Boer on the Ogg
Vorbis mailing list. It gives a
2007 Jul 15
1
How to load a dataset
Hi:
Since I didn't get any answers, I'll refresh my question.
I have a dataset called "Chinook Run" saved in Excel and I want it to be loaded everytime R starts, so I can call it with a statement like the one below:
qplot(color, Year/Forklength, data = Chinook Run)
I wonder how can I do that.
I went to the rprofile.site and copied the path to my dataset there and it
2011 Apr 03
1
another question on shapefiles and geom_point in ggplot2
Manuel:
I changed your variable names from x to 'long' and y to 'lat' on the
riqueza_out.csv file.
The code below should do what you want. Also, since the legend title is kind of
long, I broke it
down into three lines so you can see more plot area. I am cc'ing the other
groups so more people
use it if needed.
library(rgdal)
library(ggplot2)
library(sp)
library(maptools)
2010 Nov 29
2
drop levels problem
Hi all:
I am having trouble dropping levels, got a few hints online?without success.
Please consider the dataset below:
?I was under the inpression that subset(......drop=TRUE) would work but it
doesn't
library(ggplot2)
??? library(hmisc)
x <- structure(list(first = c(38.2086, 43.1768, 43.146, 41.8044, 42.4232,
46.3646, 38.0813, 40.0745, 40.4889, 38.6246, 40.2826, 41.6056,
34.5353,
2012 Dec 17
5
save to file
Hi,
What's the equivalent of "Save to File" from the R console File menu on an R routine? Just trying
to capture the whole R console into a text file when my code fails.
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
http://www.fws.gov/redbluff/rbdd_jsmp.aspx
[[alternative HTML version deleted]]
2008 Mar 26
1
cbind and mean by week
Hi:
I have been able to finally crunch my data by
importing it by week(thank you all for your help),but
here we go again..
Now I'am trying to do it for the the whole year.
Since the
dataset is huge I'm only making a 3 weeks dataframe.
- I want to get the mean of pd by week
- I want to count the number of days by week and bind
it to the existing dataframe(x)
- I want to remove the
2009 Mar 30
2
ggplot2-geom_text()
Hi: I need help with geom_text().
I would like to count the number of Locations
and put the sum of it right above each bar.
x <- "Location Lake_dens Fish Pred
Lake1 1.132 1 0.115
Lake1 0.627 1 0.148
Lake1 1.324 1 0.104
Lake1 1.265 1 0.107
Lake2 1.074 0 0.096
Lake2 0.851 0 0.108
Lake2 1.098 0 0.095
Lake2 0.418 0 0.135
Lake2 1.256 1 0.088
Lake2 0.554 1 0.126
Lake2 1.247 1 0.088
2008 Oct 28
1
does qplot works with Sweave?
Hi Hadley:
I'm practicing writing a document using MikTex but can't make qplot to execute. It works when using 'plot' though. Is this a normal behaviour?
\documentclass[9pt]{article}
\title{ggplot2 example}
\begin{document}
\maketitle
\section*{Examples of using ggplot2}
The goal is to be able to import ggplot2 graphics into the annual report.
Hadley Wickham has done a great
2012 Dec 02
4
simple subset question
Hi,
Consider the small dataset below, I want to subset by two variables in
one line but it wont work...it works though if I subset separately. I have
to be missing something obvious that I did not realize before while using subset..
fish <- structure(list(IDWeek = c(27L, 28L, 29L, 30L, 31L, 32L, 33L,
34L, 35L, 36L, 37L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 45L, 46L,
47L, 48L, 49L, 50L, 51L,
2007 Apr 14
0
[963] branches/wxruby2/wxwidgets_282/doc/textile/dialog.txtl: Added a few missing methods and cleaned up a bit.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 Mar 06
2
How to hold a value(Mean sq) with a string
Hi all:
Can someone advice me on how to hold the residuals
Mean sq value on a string
so it can be used in other calculations.
I was trying something like this:
Msquare<-dfr$Mean sq but fails..Thanks
dfr <- read.table(textConnection("percentQ
Efficiency
1.565 0.0125
1.94 0.0213
0.876 0.003736
1.027 0.006
1.536 0.0148
1.536 0.0162
2.607 0.02
1.456 0.0157
2.16 0.0103
2008 Jul 12
2
Excel Trend Function
Hi:
I have a dataset and need to interpolate for missing days. In Excel I either average from sampled days from above and below the missing days or use the TREND function to make up for the missing values. I have been reading about na.approx, is this function similar to the TREND function? Which is the best recommendable way to make up for missing data?
Here's my dataset: weeks 17,18,26 and 46
2008 Sep 26
2
bar and line plot
Hello All:
Using the below dataset how can I make a barplot with
Date(X) and NumEggs(Y) by Site. Then plot Temp(lineplot)
It seems really simple, but I am having a hard time trying to
do it by Site. Thanks
Date NumEggs Site Temp
1 2008-04-22 0 Massacre Flat (RK424.5) 51.20
2 2008-04-23 0 Massacre Flat (RK424.5) 50.80
3 2008-04-24
2010 Apr 25
1
replace question mark with a dash
Hi:
I have the following dataset in R( thanks Gabor for your help) but now
the problem is that all the dashes are converted to questions marks ("?")
I?am trying to get the dashes back using:
mydf <- data.frame(lapply(mydf,function(x) replace(mydf,"?"(x),"-")))
but isn't working. I also tried:
mydf <- replace(mydf,mydf=="?","-)")
2007 Mar 29
0
[926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2010 May 10
1
cumsum output
Hi: Thanks to Dennis and Fernando for your help reordering the levels.
Now I have a different issue:
I am trying to get the?cumulative weekly values using cumsum and it
appears to output the wrong?values. Here's my dataset:
winter <-? structure(list(week = c(26L, 27L, 28L, 29L, 30L, 31L, 32L, 33L,
34L, 35L, 36L, 37L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 45L, 46L,
47L, 48L, 49L, 50L, 51L,
2009 Sep 25
1
How to download from github
Hi:
Is my first attempt to try to download from github. Nothing happens by clicking on the 'download' button. Could anyone give me a hint on how to get all the files from the link below? Thanks
http://github.com/hadley/ggplot2-bayarea/tree/0a8bf71dea38cfbf2d928eb713d24dfd928359fc
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife