Displaying 2 results from an estimated 2 matches for "conlen".
Did you mean:
collen
2009 Jun 15
1
How to do automatical-plotting
...F file, assigning the variable name as the y
label. Can anyone share any brilliant scripts with me. I think it must be
helpful to others who have little programming experience like me.
the code I used to make boxplot on (dataframe: All, group 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.68085106...
2009 Jun 16
4
confusion on levels() function, and how to assign a wanted order to factor levels, intentionally?
...nce.
Best regards,
Mao J-F
data, 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...