Displaying 20 results from an estimated 1100 matches similar to: "Saving graphs in formats other than PDF?"
2007 Jun 12
4
Generating artificial datasets with a specific correlation coefficient.
I need to create artificial datasets with specific correlation
coefficients (i.e. a dataset that returns r = 0.30, etc.) as examples
for a lab I am teaching this summer. Is there a way to do that in R?
Thanks.
Jim Milks
Graduate Student
Environmental Sciences Ph.D. Program
136 Biological Sciences
Wright State University
3640 Colonel Glenn Hwy
Dayton, OH 45435
[[alternative HTML version
2005 May 31
2
plane3d
I am attempting to fit a logistic regression plane to a 3-D scatterplot
(which was generated using scatterplot3d). I've noticed that the help
pages of scatterplot3d include a function titled "plane3d." However,
when I attempt to use the function, I get the following message:
Error: couldn't find function "plane3d"
I've searched the archives and found no
2007 Aug 13
2
Error message when using zero-inflated count regression model in package zicounts
I have data on number of vines per tree for ~550 trees. Over half of
the trees did not have any vines and the data is fairly skewed
(median = 0, mean = 1.158, 3rd qu. = 1.000). I am attempting to
investigate whether plot location (four sites), species (I'm using
only the four most common species), or tree dbh has a significant
influence on the number of vines per tree. When I
2007 Jul 02
4
Extracting sums for individual factors in data frames
I have a data frame with two columns, one of which is a factor
(Species) and the other is numeric (BA, which stands for basal
area). Here's a sample:
Species BA
ACSA 55.7632696
FRAM 122.9933524
ACSA 67.54424205
ACSA 89.22123136
ACSA 82.46680716
ACSA 22.46238747
ACSA 19.94911335
ACSA 20.42035225
ACSA 19.00663555
ACSA 21.67698931
ACSA 57.80530483
ACSA 30.31636911
Dead 43.98229715
Dead
2005 Apr 18
1
Forcing best-fit lines to go through the origin
Dear All,
I have a rather unusual problem. I have a set of data for a class in
subsurface processes. From that dataset, I must calculate the slope of
the best-fit line (which is the parameter of interest). The problem I
have is twofold: 1) for the purposes of the exercise, I must force my
best-fit line to go through the origin (0,0), and 2) the line must be
linear, even though the data is
2007 Jul 08
1
generating a data frame with a subset from another data frame
R gurus,
I have a data set that looks something like this:
Site Species DBH #Vines
G PLOC 45.9 4
G ACNE 23.3 1
G ACNE 12.0 0
G FRAM 35.9 5
G AEGL 11.2 2
N PLOC 77.3 12
N JUNI 78.6 7
N ACNE 18.9 1
N ACNE 15.7 3
N ACRU 35.5 4
H ACSA2 24.1 6
H ULAM 35.2 7
There are 730 individual trees (22 species) from four sites in the
actual data set. I would like to create a second data frame that
2007 Jul 31
2
choosing between Poisson regression models: no interactions vs. interactions
R gurus,
I'm working on data analysis for a small project. My response
variable is total vines per tree (median = 0, mean = 1.65, min = 0,
max = 24). My predictors are two categorical variables (four sites
and four species) and one continuous (tree diameter at breast height
(DBH)). The main question I'm attempting to answer is whether or not
the species identity of a tree has
2005 May 01
1
Partial F-test comparing full and reduced regression models
Dear all:
I have a regression model that has collinearity problems (between three
regressor variables). I need a F-test that will allow me to compare
between full (with all variables) and partial models (minus 1=<
variables). The general F-test formula I'm using is:
F = {[SS(full model) - SS(reduced model)] / (#variables taken out)} /
MSS(full model)
Unfortunately, the ANOVA table
2007 Aug 31
1
Strange behavior using subset
Dear R Gurus,
Let's get the technical details out of the way first:
Computer: 1.83 GHz MacBook
R version 2.5.1
I have a data set that contains the following variables: site,
species, total.vines. I need to partition the main data set by site,
the further select only those species that occurred at each site.
When I select by site (site.name<-subset(data frame,Site=="Site
2007 Mar 19
2
sorting with criteria that are "out of order"
I try to sort this dataframe:
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
[1,] "CM" "BARBY" "INCREASED" " 0" " 2" " 0" " 1" " 1"
[2,] "CM" "BARBY" "REDUCED" " 0" " 1" " 2" " 2" " 5"
[3,] "CM"
2007 Nov 08
2
centile reference chart / clildren growth chart - what package/method to use
We are constructing growth charts (age/weight and age/length) for children
with diagnosis that impacts weight/length.
But we we don't know how to use R for producing growth charts.
We are collection data of Age, Weight and Length.
The data are used to produce diagnosis-specific Growth charts (like the CDC
Growth Charts:
2005 Mar 09
1
Aid with 3-D scatterplots
I am attempting to classify pixels from a Landsat image by using their
associated numbers in bands 2, 3, and 4 (It's from an assignment on
classification). To aid me, I want to create a 3-D scatterplot using
the "cloud" command. Due to my ignorance of the finer plotting
functions, I am unable to display the scale on the three axes or to
display the grid.
My dataframe (RS)
2004 Nov 22
1
RODBC and Table views
This question relates to the use of the RODBC package for retrieving data
from a MS Access database. It is quite easy to retrieve data sitting in
tables but is it possible to select from views based on these tables? The
archives do not touch on this point.
sqlTables() lets me see tables and views but only the tables yield data. Do
I need to recreate these views on the R side of the connection?
2008 Apr 18
7
problem in installing R packages on linux
I am facing problem in installing the R package on linux .
When i put the command install.packages("BART")
Then it asks for selecting the mirror , i have selected the mirrror , but it
is showing no package in repository .I have selected different different
repository still i am getting the same error what can i do , please help me
out.i am sending the screenshot of unix terminal .
I will
2007 Apr 01
3
Doing partial-f test for stepwise regression
Hello all,
I am trying to figure out an optimal linear model by using stepwise
regression which requires partial f-test, I did some Googling on the
Internet and realised that someone seemed to ask the question before:
Jim Milks <jrclmilks at joimail.com> writes:
> Dear all:
>
> I have a regression model that has collinearity problems (between
> three regressor variables). I
2008 Aug 28
3
Upgrading R means I lose my packages
The title says it all. Does anyone know of a way to save your
packages when you upgrade to a new version of R? This may seem petty,
but I'm accumulating enough packages that having to download and
install each of them anew every time I install a new version of R is
rather of a pain. Ideally, I would like the new version of R to
recognize the packages I've installed on the
2006 Sep 12
1
Using XY location data to calculate ecological parameters
Dear R gurus,
I have XY data giving the locations of tree seedlings that were
surveyed during a 210 meter belt transect. This belt transect was
taken by stretching a line across the field, then measuring all
seedlings within 1 meter on either side of the line. The end result
was XY coordinates and height for ~1,300 seedlings. I would like to
use that data to calculate density of
2000 Jul 17
3
No subject
We are looking for another solution besides Samba, which will allow our
application developers using Windows 95/98/NT to access share on our Sun Box
running Solaris 2.6 operating systems. Our supervisor feels the Samba
installation process is more complex than what we really need.
Any suggestions?
Steven Hawks
NCR Corporation
IT Services - GAD Sales and Business Infrastructure
* 1529 Brown St.,
2005 Apr 25
2
rebuilding anaconda for centos 4.0
Hi all:
I'm trying to rebuild the anaconda installer for Centos 4.0 (i386) to add some
RPMs and do some other things, and I've run into a problem. I've done lots of
anaconda rebuilds for Tao Linux 1.0, and I'm bringing those bits forward into
Centos 4.0. The all-knowing web hasn't turned up anything useful. It looks
like the PXE-loaded kernel unpacked and mounted the
2006 Mar 24
0
Adding gs line to Renviron file on Mac
First the technical details: I'm running Mac OS 10.4.5, R 2.2.0, and
just downloaded Ghostscript 8.50 to my Applications folder.
My problem is this: after adding
## Ghostscript
R_GSCMD=${RGSCMD='/usr/bin/gs'}
to my Renviron file, as suggested in several posts on this problem
contained in the archives, I still get
Error in bitmap("acaldi.bmp", res = 100) :
sorry,