Displaying 20 results from an estimated 500 matches similar to: "difference of means as response?"
2017 Oct 13
2
[SelectionDAG] Assertion due to MachineMemOperand flags difference.
Hello,
I've hit an assertion in SelectionDAG where we try to merge 2 loads
that have the same operands but their MMO flags differ. One is
dereferenceable and one is not. I'm not sure what the underlying issue
here is:
1) MDSDNode with the same operands should have the same flags set on
their respective MMO. The fact the flags differ when the
opcode,types,operands and address-space are
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 Jul 15
1
nlme and spatially correlated errors
Dear R users,
I am using lme and nlme to account for spatially correlated errors as
random effects. My basic question is about being able to correct F, p, R2
and parameters of models that do not take into account the nature of such
errors using gls, glm or nlm and replace them for new F, p, R2 and
parameters using lme and nlme as random effects.
I am studying distribution patterns of 50 tree
2009 Nov 17
1
strange read.table results
Hi I hope someone can shed some light on this:
For some reason when I
read.table("bfx.txt")
R decides to only give back the first character from each column in each row as one single column.
Like this:
V1
1 ÿþr
2 \n
3 r
4 1
5 0
6 A
7 G
8 \n
9 r
10 1
11 0
12 T
13 C
14 \n
The data should be:
2003 Nov 13
1
creating a "report" table from a set of lists
I've been trying to figure out how to accomplish the following...
I've got a list (returned from a function) and I would like to "cbind()" the
lists together to create a "cross tab" report or simply bind them together
somehow
the function returns a list that looks like the following:
> all$BM
$species
[1] "BM"
$vbar.nobs
[1] 3
$vbar.sum
[1] 54.05435
2011 Jul 21
1
nested loop for
Hi everyone,
I have been working some days in a nested loop in R but I can't find the solution.
I have a data.frame with an unique ID for individuals and unique ID for different stands, for each indiviadual I have a dbh record and a SBA (stand basal area) field.
Pma<-rep (1:40)
P<-seq(1,4, 1)
Plot<-rep(P,10)
dbh2<-rnorm(40, mean=200, sd=5)
SBA2<-rnorm(40, mean=10, sd=1)
As
2011 Nov 17
1
Getting unique colours
Hey everyone,
I am new to R, and I'm making a scatter plot graph where i have a bunch of
plots/points that fall into 9 unique categories. I want each category to
have a unique colour, however, with the coding I have (below), the colour
black is repeated for two of my plot types. Does anyone know a quick way to
get 9 unique colours??
Coding:
plotba = plot (predictedba ~ actualba,
2010 Apr 27
1
Cairo package failure to load backend
Hi R friends,
I've been attempting to create plots with multiple alpha values using
Cairo to save them on a windows (32b XP) platform as it doesn't support
more than 3 alpha values. This worked well until I wanted a postscript
file (unsupported) and as a attempted work around I installed RGtk2. So
far so good, however now when I try to use a
>CairoPDF("alpha.pdf", 6, 6,
2010 Apr 06
1
lattice package: line end style
First, apologies for no example data but I don't think it's needed in
this case,
Q: Can (and if so how ) the line end style be changed for 'cloud' plots?
I've tried par(lend=2), trellis.par.set(add.line = list(lend=2)) and
much googling but to no avail
Thanks in advance
Dan
P.S. the reason for this is that the round end looks bad at lwd=3 or
more
Daniel Alcock
Malaria
2007 Oct 09
2
fit.contrast and interaction terms
Dear R-users,
I want to fit a linear model with Y as response variable and X a categorical variable (with 4 categories), with the aim of comparing the basal category of X (category=1) with category 4. Unfortunately, there is another categorical variable with 2 categories which interact with x and I have to include it, so my model is s "reg3: Y=x*x3". Using fit.contrast to make the
2009 Jul 29
4
- counting factor occurrences within a group: tapply()
Dear List,
I'm an [R] novice starting analysis of an ecological dataset containing the
basal areas of different tree species in a number of research plots.
Example data follow:
> Trees<-data.frame(SppID=as.factor(c(rep('QUEELL',2), rep('QUEALB',3),
'CORAME', 'ACENEG', 'TILAME')), BA=c(907.9, 1104.4, 113.0, 143.1, 452.3,
638.7, 791.7, 804.3),
2007 Mar 29
0
Impute Values for Forest Inventory
Dear All,
I am Ricky Jacob, a project Student from India who is working on
Forest Inventories.
Input data:
Plot(area = .1 ha) data having the following information:
1) Basal Area
2)Tree Density
3)Volume
So I am applying this information to the corresponding pixels in the
satellite imagery of the study area. I also have given the same
values to a 3x3 window around that pixel.
Inventory is taken
2007 Apr 27
0
Logistic Regression Question: Risk Threshold
Hi,
I am working on problem 2 of Chapter 8 in Data Analysis and Graphics Using R and don't know how to approach the second half of the question:
In the data set (an artificial one of 3121 patients, that is similar to a subset of the data analyzed in Stiell et al., 2001) head.injury, obtain a logistic regression model relating clinically.important.brain.injury to other variables. Patients
2012 Mar 08
2
Boxplot Fill Pattern
Hello R Help!
I would like to make a legible boxplot of tree growth rates for each of
seven tree species at each of seven different sites. It's a lot of data to
put on one figure, I know. I made a beautiful, interpretable figure using
color, but my target journal can't deal with color figures. I can use seven
shades of grey to fill the boxes, but the figure then becomes
uninterpretable -
2007 Oct 15
3
Trying to recover data off SATA-to-SCSI external 2TB ARRAY
Original the array was attach to an HP server via a Smart Array
Controller.(which I didn't setup, I just inherited the problem)
This controller no longer recognizes the array even though the front panel
of the array indicates its intact.
I then took the array and plugged it into my Centos server and it recognized
it ...
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun:
2009 Feb 14
2
superscript
Dear R-users.
I'm struggeling to fix the superscript of a label of a figure axis. For some reason R doesn't recognize the "hat" symbol.
plot(1,1,xlab="ligth intensity (PAR)",ylab=expression("mass Pteridium rhizomes" (gr/0.25m^2)))
A very similiar scriptline does not give any problem at all:
plot(1,1,xlab=expression("balsa plot basal
2007 Apr 11
1
Random Forest Imputations
Dear All,
I am not able to run the random forest with my dataset..
X<- 280 records with satellite data(28 columns) - B1min, b1max, b1std etc..
y<- 280 records with 3 columns - TotBasal Area, Stem density and Volume
yref <- y[1:230,] #Keeping 1st 230 records as reference records
want to set 0 to y values for records 231 to 280..
yimp <- y[231:280,] #records for which we want
2005 Nov 22
1
Kolmogorov-Smirnov test help
Hi
I am conducting 2-sample Kolmogorov Smirnov tests for my Masters project to
determine if two independant tree populations have the same size-class
distribution or not. The trees have been placed into size-class categories
based on their basal diameters. Once I started running the stats on my data,
I got confused with the results. Just to show an example of what I was
testing I ran stats
2013 Apr 24
2
Sum up column values according to row id
Dear All,
here a problem I think many of you can solve in few minutes.
I have a dataframe which contains values of plot id, diameters, heigths and
basal area of trees, thus columns names are: id | dbh | h | g
head(ipso, n=10) id dbh h g
1 FPE0164 36 13.62 0.10178760
2 FPE0164 31 12.70 0.07547676
21 FPE1127 57 18.85 0.25517586
13 FPE1127 39 15.54 0.11945906
12 FPE1127
2010 Jun 30
3
Factor Loadings in Vegan's PCA
Hi all,
I am using the vegan package to run a prcincipal components analysis
on forest structural variables (tree density, basal area, average
height, regeneration density) in R.
However, I could not find out how to extract factor loadings
(correlations of each variable with each pca axis), as is straightforwar
in princomp.
Do anyone know how to do that?
Moreover, do anyone knows