[R] Using %variable% object-column names in function

2005-02-09 Thread achilleas . psomas
Dear R-help.. I am rather new in R so i would appreciate your help in my problem.. I cant seem to be able to write a function that has arguments being objects and column names of these ojbects... A simple example code that doesnt work is the following.. auto_plot <- function (object1,column1,ob

[R] Using %variable% object-column names in function

2005-02-09 Thread achilleas . psomas
> Dear R-help.. > > I am rather new in R so i would appreciate your help in my problem.. > I cant seem to be able to write a function that has arguments being objects > and > column names of these ojbects... > A simple example code that doesnt work is the following.. > > > auto_plot <- function (o

[R] Data in an object = Existing Objects??

2005-03-01 Thread achilleas . psomas
Dear R-help... I am rather new so I would appreciate your help.. My question if the following.. I have generated (with R) a data frame DF looking like this.. > print(DF) X1 X2 2 C_05_04 C_05_11 3 C_05_04 C_05_17 4 C_05_04 C_06_08 5 C_05_04 C_06_29 6 C_05_04 C_07_16 Where

[R] Convex hull line coordinates..

2005-03-18 Thread achilleas . psomas
Hello R-Helpers.. I am still new in R and I have the following question.. I am applying the function chull on a 2D dataset and have the convex hull nicely calculated and plotted. Do you know if there is a way to extract the coordinates of the line created from the connection of the chull data poin

[R] Convex hull line coordinates..

2005-03-21 Thread achilleas . psomas
points.. I have alredy tried with "approx" to lineary interpolate but its not working correctly since the interpolated values sometimes fall inside the convex . Using the "yleft" or "yright" doesnt seem to help.. Any suggestions? Thank yo

[R] n-dimensional(hypercube)distance calculation..

2005-04-14 Thread achilleas . psomas
Dear R-help.. I am rather new in R so i would appreciate your help in my problem.. I have 3 types of vegetation (A,B,C),50 measurements per class and 100 variables per measurement. I would like to perform seperability analysis between these classes meaning... a.)create the hypercube from these 1

[R] Jeffries-Matusita distance

2005-04-15 Thread achilleas . psomas
Hello R-Helpers.. Does anybody know if the Jeffries-Matusita distance is already applied in R code? Does it exist in any available package or has been ? I searched CRAN but couldnt find anything there.. Thanks in advance for your help.. AK __ R-help@s