Displaying 2 results from an estimated 2 matches for "w100s".
Did you mean:
100s
2009 Jun 16
4
confusion on levels() function, and how to assign a wanted order to factor levels, intentionally?
...ata, code, and results I used and got are as followed:
(You can find that the correlations of the factor and the numeric variables
changed, before and after the levels() was performed.)
> d<-read.delim("All.txt",header=T)
> d
species population conlen tscale fscale tseen w100s nfsee
1 Py YXPy01 8.60 153 69 111 1.680851 94
2 Py YXPy01 8.10 173 74 139 1.848485 133
3 Py YLPy01 6.50 138 58 99 1.520833 48
4 Py YLPy01 5.90 153 67 118 1.355140 107
5 Py KMPy01 6.10 113...
2009 Jun 15
1
How to do automatical-plotting
...up variable: species
and popluation, and numeric variable: conlen) is as followed:
pcon<-ggplot(All, aes(population,conlen))
pcon+geom_boxplot(aes(fill=species))
Thank you in advance.
Regards
Mao J-F
a part of my dataframe: All
species population conlen tscale fscale tseen w100s
nfsee
Py YXPy01 8.6 153 69 111 1.680851064 94
Py YXPy01 8.1 173 74 139 1.848484849 133
Py YLPy01 6.5 138 58 99 1.520833333 48
Py YLPy01 5.9 153 67 118 1.355140187 107
Py KMPy01 6.1 113 48 75 1.4705...