Although I see similar, but more complex, questions addressed in the help
archive, I'm having trouble adding superscripted text to the y-axis labels of
some figures, and I can't find anything in the R documentation on this.
I have:
ylab=BA (m2/ha)
but I want the 2 to be superscripted.
Thanks in
What is the difference between the two R-squareds returned for a linear
regression by summary(lm...)? When might one report multiple vs. adjusted
R-squared?
Thank you,
Ben Osborne
--
Botany Department
University of Vermont
109 Carrigan Drive
Burlington, VT 05405
[EMAIL PROTECTED]
phone:
I want to organize outputs from several regressions into a handy table. When I
try the following, each of my fit_s is replaces instead of read. Is there a
way to read from the regression summaries that does not require writing
separate lines of code for each?
-Ben Osborne
I want to know where all the NAs are in a matrix. The data frame looks like
this:
vmc[1:5,]
date year month day snow.new prcp tmin snow.dep tmax
1 01NOV1954 195411 1 NA NA -14.4 NA 12.222
2 02NOV1954 195411 2 NA NA -13.9 NA
1) When adding additional data sets to a plot using plot followed by lines,
is there a way to automate the scaling of the axes to allow for all data sets
to fit within the plot area?
2) I attempted to solve this by setting
xlim=c(min(c(data1,data2,data3)),max(c(data1,data2,data3)))
however,
I have a set of time-series climate data with missing entries. I need to add
rows for these missing entries to this data set. The only way I know to do
this is unsing a foreloop, but this won't work on a list. I've tried to
convert the list to a data frame, but that won't happen, either.
I
Message: 63
Date: Wed, 26 Jan 2005 04:28:51 + (UTC)
From: Gabor Grothendieck [EMAIL PROTECTED]
Subject: Re: [R] chron: parsing dates into a data frame using a
forloop
To: r-help@stat.math.ethz.ch
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii
Benjamin M
I have one data frame with a column of dates and I want to fill another data
frame with one column of dates, one of years, one of months, one of a unique
combination of year and month, and one of days, but R seems to have some
problems with this. My initial data frame looks like this (ignore the
I'm attempting to do model selection with AIC, using a glm and a lognormal
distribution, but:
fit1-glm(BA~Year,data=pdat.sp1.65.04, family=gaussian(link=log))
## gives the same result as either of the following:
fit1-glm(BA~Year,data=pdat.sp1.65.04, family=gaussian)
Is it possible to give a temporary object a name that varies with each run of a
foreloop? For example, I want to fill a matrix every time I run a loop, and I
want a new matrix with each run, with an appropriate new name.
i.e.:
for(i in 1:5){... matrix.i-some values ...}
so that in the end I
Does anyone know of a list of functions that R already knows? I can't seem to
find this anywhere in the help documentation. For example, I want to count the
number of occurences of a certain value in a column of a data frame: What do I
have to do to tell R to Count?
Thanks,
Ben Osborne
--
11 matches
Mail list logo