search for: yxpy01

Displaying 3 results from an estimated 3 matches for "yxpy01".

Did you mean: ylpy01
2009 Jun 16
1
How to replace outliers by group median?
...g. Can anybody share any R script to do that? I think that is also valuable to so many others who is doing numerical data analysis. Here is a dummy dataframe with a group variable (three levels) and a numeric one. I just want to know how to replace outliers by group median. population conlen3 YXPy01 8.6 YXPy01 8.1 YXPy01 7.6 YXPy01 7.6 YXPy01 23 YXPy01 7.6 YXPy01 7.6 BSPy01 7.5 BSPy01 6.4 BSPy01 5.4 BSPy01 15 BSPy01 6.6 BSPy01 5.5 YLPy01 5.4 YLPy01 5.4 YLPy01 5.6 YLPy01 21 YLPy01 5.4 YLPy01 5.4 YLPy01 5.4 YLPy01 4.9 Thank you a lo...
2009 Jun 16
4
confusion on levels() function, and how to assign a wanted order to factor levels, intentionally?
...ed 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 48 75 1.470588 51 6...
2009 Jun 15
1
How to do automatical-plotting
...es 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.470588235 51 Py K...