Displaying 2 results from an estimated 2 matches for "morganph".
Did you mean:
morgan
2011 Aug 08
1
heatmap is producing unwanted horizontal and vertical lines?
Hello,
I must start by saying that I am an R novice and am sorry if this is a no-brainer...
I have an csv file that contains a grid of 300x300 data points. Each point represents
a 1Km square on a map. Each point is either a floating point number or NA. I load the
data in with:
data <- read.csv("matrix.csv", sep=',')
Convert the data to a matrix with:
data_matrix <-
2011 Aug 03
1
Coefficient names when using lm() with contrasts
Dear R Users,
Am using lm() with contrasts as below. If I skip the contrasts()
statement, I get the coefficient names to be
> names(results$coef)
[1] "(Intercept)" "VarAcat" "VarArat" "VarB"
which are much more meaningful than ones based on integers.
Can anyone tell me how to get R to keep the coefficient names based on the
factor levels