Re: [R] Visualizing a graph in the coordinate system given by x using vanila R

2017-05-07 Thread Jim Lemon
Hi Ante, As this is a homework problem, you will probably get a number of negative replies. You might want to look at the color.scale.lines function in the plotrix package. Perhaps you will find some clues in the code. Jim On Mon, May 8, 2017 at 9:22 AM, Ante Dilber wrote: > So I have the follow

[R] (no subject)

2017-05-07 Thread gregorypropf
hiya R http://dev.webbrand-media.net/topframe.php?action=2xxx631r2yaqtdra gregorypropf __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-

[R] Visualizing a graph in the coordinate system given by x using vanila R

2017-05-07 Thread Ante Dilber
So I have the following problem, I need to write a function plotGraph(x , y) in R with the following properties: The argument x may be a matrix or data frame with two columns containing coordinates of vertices of a graph. The argument y must be a quadratic adjacency matrix that has as many rows an

Re: [R] Mac-specific encoding bug

2017-05-07 Thread Oliver Keyes
Interesting! The odd thing is it works perfectly well on Linux platforms, at least - I guess it must be something to do with the Mac locales. Thanks! On Sun, May 7, 2017 at 1:51 PM, peter dalgaard wrote: > >> On 7 May 2017, at 08:36 , Oliver Keyes wrote: >> >> Hey all, >> >> I've ran into a weir

Re: [R] 3d graph with contours lines

2017-05-07 Thread David Winsemius
> On May 7, 2017, at 6:12 PM, Fernando de Souza Bastos wrote: > > Can anyone help solve this issue? > > I thank you! > > http://stackoverflow.com/questions/43817083/3d-graph-with-contours-lines plot3D is a package with a large selection of options. > > Best, > > Fernando de Souza Bastos >

[R] 3d graph with contours lines

2017-05-07 Thread Fernando de Souza Bastos
Can anyone help solve this issue? I thank you! http://stackoverflow.com/questions/43817083/3d-graph-with-contours-lines Best, Fernando de Souza Bastos Assistant professor Federal University of Viçosa (UFV) Campus UFV - Florestal PhD Student in Statistics Federal University of Minas Gerais (UFMG

Re: [R] Mac-specific encoding bug

2017-05-07 Thread peter dalgaard
> On 7 May 2017, at 08:36 , Oliver Keyes wrote: > > Hey all, > > I've ran into a weird quirk on Mac platforms, which you can read fully > at https://github.com/Ironholds/urltools/issues/70 > > The long and the short of it is that one specific codepoint - \u04cf - > does not print in a UTF-8-y

[R] visualization of KNN results in text classification

2017-05-07 Thread Elahe chalabi via R-help
Hi all, Does anyone know what is the best way to visualize KNN(K nearest neighbor) results for classification of texts in R? My data set has only speeches and the type of the people for them which is control group or Alzheimer group, KNN classifies these two groups for me but I don't know how

[R] Mac-specific encoding bug

2017-05-07 Thread Oliver Keyes
Hey all, I've ran into a weird quirk on Mac platforms, which you can read fully at https://github.com/Ironholds/urltools/issues/70 The long and the short of it is that one specific codepoint - \u04cf - does not print in a UTF-8-y way by default, except when run through cat(). Compare, for example

Re: [R] setting the values of a secondary "y" axis

2017-05-07 Thread Jim Lemon
Hi Antonio, Have a look at twoord.plot (plotrix). It may make your repeated plots easier. Jim On Sun, May 7, 2017 at 7:50 AM, Antonio Silva wrote: > Hello > > I want to make a plot with two "y" axes. The labels at axis 4 should be the > values from axis 2 multiplied by a scale factor (as 3.5).