[R] optimal control

2017-03-02 Thread Ismail Raji
Dear sir, Please, kindly assist me with examples on how to use R for simulation of optimal control problem in epidemiology. Thank you. Raji,Ismail I The federal polytechnic,Ado-ekiti Dept of Maths & Statistics Ekiti state Nigeria [[alternative HTML version del

[R] Column names containing ` in R

2012-11-06 Thread Raji
* Is there a way, say an escape sequence or something similar in which we can give these objects with the colnames to R functions? Thanks in advance. Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/Column-names-containing-in-R-tp4648553.html Sent from the R help

[R] rpart space in column names

2012-05-27 Thread Raji
? Thanks in advance for your help, Raji -- View this message in context: http://r.789695.n4.nabble.com/rpart-space-in-column-names-tp4631557.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https

[R] rpart error message

2012-04-03 Thread Raji
Hi R-helpers, I am using rpart package for decision tree using R.We are invoking R environment through JRI from our java application.Hence, the result of R command is returned in REXP and we use geterrMessage() to retrieve the error. When we execute the following command,

[R] Reg : Capture.output not supporting UTF-8 data

2012-01-11 Thread Raji
can retain the UTF-8 characters in the PMML and use capture.output? Thanks, Raji -- View this message in context: http://r.789695.n4.nabble.com/Reg-Capture-output-not-supporting-UTF-8-data-tp4284840p4284840.html Sent from the R help mailing list archive at Nabble.com

[R] Reg : Encoding information in PMML generated from R

2011-12-29 Thread Raji
Hi , I am trying to get the PMML for a Decision tree model (using rpart) . The PMML generated from R does not contain the encoding information similar to *?xml version=1.0 encoding=UTF-8 standalone=no?*. The PMML generated from R starts as PMML version=3.2 xmlns=http://www.dmg.org/PMML-3_2;

[R] Reg : Using RJDBC to read UTF-8 characterrs

2011-12-21 Thread Raji
‚«ã‚¿ã‚«ãƒŠ2 m OvercastMILDNormal FALSE カタカナ1 Thanks, Raji -- View this message in context: http://r.789695.n4.nabble.com/Reg-Using-RJDBC-to-read-UTF-8-characterrs-tp4220650p4220650.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Help in kmeans

2011-10-16 Thread Raji
-kmeans(cbind(SepalLength,SepalWidth,PetalLength,PetalWidth,Species),3) * But this command worked and gave output.* Does this mean that kmeans can accept String inputs also? Can you please let me know how the second command works? Thanks in advance. Regards, Raji -- View this message

Re: [R] Help in kmeans

2011-10-16 Thread raji sankaran
values *. For example,a column which contains names like country names.How does this work in such cases? Is it expected behavior? Country --- England Germany China Thanks, Raji On Mon, Oct 17, 2011 at 1:02 AM, Christoph Molnar christoph.mol...@googlemail.com wrote: Hi, I suspect

Re: [R] Reg : read missing values from database using RJDBC

2011-10-05 Thread Raji
Hi All, This seems to be a bug with RJDBC package and it has been fixed in the latest RJDBC_0.1-6 version. I would like to try out RJDBC_0.1-6. can you please guide me to a link where i can find the 64-bit RJDBC_0.1-6.zip . I could find the 32-bit version at

[R] Reading column names with spaces using dbGetQuery

2011-09-27 Thread Raji
I have been trying to read a dataset which has spaces in column names using dbGetQuery from RJDBC. * dataFrame-dbGetQuery(conn,select 'Sepal Length','Sepal Width' from 326_1_Result)* The resulting dataframe contains column names as *Sepal.Length Sepal.Width * But i would like to maintain the

Re: [R] Import/convert PMML to R model

2011-06-01 Thread Raji
Hi R-helpers, Can you please let me know if it is possible to import a PMML in R? If yes, can you give me the command to do the same? If not, can you tell me the reason why? Many thanks, Raji -- View this message in context: http://r.789695.n4.nabble.com/Import-convert-PMML-to-R-model

Re: [R] Retrieve model from R without save

2011-04-25 Thread Raji
Hi, Thank you.I would also like to know if there is a way in which we can store R model object as a binary in memory and read the binary contents back into R model object? -- View this message in context: http://r.789695.n4.nabble.com/Retrieve-model-from-R-without-save-tp3465495p3472682.html

[R] Retrieve model from R without save

2011-04-21 Thread Raji
in R , we cannot use the save() command since, save () stores the pmml in local file. Is there any way in which we can get the model data directly from R without storing it locally? Note: Our code is written in Java and we use JRI to connect to R. Many thanks in advance, Raji -- View this message

Re: [R] set locale information in R

2011-04-10 Thread raji sankaran
Hi Uwe, Thank you very much.. That worked :) Regards, Raji 2011/4/9 Uwe Ligges lig...@statistik.tu-dortmund.de Try Sys.setenv(LANGUAGE=Fr) Uwe Ligges On 07.04.2011 10:29, Raji wrote: Hi R-helpers, Is it possible to localise the error messages/warnings that comes from R.My

[R] set locale information in R

2011-04-07 Thread Raji
with this? Sys.setlocale(LC_ALL, French) Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/set-locale-information-in-R-tp3432760p3432760.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https

Re: [R] set locale information in R

2011-04-07 Thread Raji
for setLocale says that the LC_MESSAGES cannot be set for Windows. Can you please let me know how i can get the error messages in the locale set? Please do apologize if i am missing something obvious here. Thanks, Raji -- View this message in context: http://r.789695.n4.nabble.com/set-locale-information

[R] Help in kmeans

2011-04-06 Thread Raji
, Raji -- View this message in context: http://r.789695.n4.nabble.com/Help-in-kmeans-tp3430433p3430433.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Help in kmeans

2011-04-06 Thread raji sankaran
. Is there any way we can bridge the gap so that we get the same result for column names and column indices? Regards, Raji On Wed, Apr 6, 2011 at 5:30 PM, Christian Hennig chr...@stats.ucl.ac.ukwrote: I'm not going to comment on column names, but this is just to make you aware that the results of k-means

Re: [R] Help in kmeans

2011-04-06 Thread raji sankaran
that the second results.Can you please let me know how i can get the first command with column names to get the result of the second one? Many thanks. Regards, Raji On Thu, Apr 7, 2011 at 4:02 AM, raji sankaran raji.sanka...@gmail.comwrote: Hi, Thanks for the information.But , i am already

[R] Import/convert PMML to R model

2011-03-03 Thread Raji
Hi R-helpers, I have saved my kmeansModel as a pmml using the PMML package in R using the following commands. library(pmml) pmml(kmeansModel) I have to import this saved pmml model and save it in a kmeansModel again. Can you please let me know the R commands to do that? Thanks, Raji -- View

Re: [R] Help..Neural Network

2011-02-24 Thread Raji
Hi R-help, I am using nnet package in R for neural networks for performing classification and regression.Is there any command or set of commands in R which would help to figure out the variable importance of the inputs in the generated neural network. Thanks in advance. Regards, Raji -- View

Re: [R] Null values from DBI connection

2011-02-23 Thread Raji
Hi Albert, Did u get the answer for this problem? I am connecting to a mysql database through RJDBC and i am facing the same problem? Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/Null-values-from-DBI-connection-tp2954845p3320611.html Sent from the R help mailing

[R] Reg : help using nnet parameters

2011-02-21 Thread Raji
. Thanks in advance for your help. Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/Reg-help-using-nnet-parameters-tp3317616p3317616.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org

Re: [R] Reg : read missing values from database using RJDBC

2011-02-17 Thread Raji
Hi R-helpers, Did any of you get a chance to look into this issue?i am kind of stuck in my work due to this..Is there any R command/option that can be used to overcome this? Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/Reg-read-missing-values-from-database

[R] Reg : read missing values from database using RJDBC

2011-02-03 Thread Raji
Hi R-helpers, i am using the following dataset.This dataset is stored in a mysql database. W(x)pH(y) 10 1 15 1 20 4 5 7.5 3 13 9 5 11.5 13.53 16 2 1 9.6 1 I am using RJDBC package to read the data from the database into a

[R] MONMLP neural network

2011-01-27 Thread Raji
, can you give me an example for better understanding. Thanks in advance. Raji -- View this message in context: http://r.789695.n4.nabble.com/MONMLP-neural-network-tp3242101p3242101.html Sent from the R help mailing list archive at Nabble.com. __ R-help

[R] R packages for R 2.11.1

2011-01-06 Thread Raji
Hi , I am using R 2.11.1 . I need to download few packages for the same for Windows.But in CRAN i see the latest packages for R 2.12.1 only. Can you help me out with the locations where i can find the packages for R 2.11.1 Windows zip? Thanks in advance -- View this message in context:

Re: [R] R packages for R 2.11.1

2011-01-06 Thread Raji
Hi, Thank you,I will try to build the packages with RTools. I found the following links for few packages. rJava http://www.rforge.net/rJava/files RJDBC http://www.rforge.net/RJDBC/files/ Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/R-packages-for-R-2

[R] predict function for kmeans

2010-12-21 Thread Raji
Hi, I am using kmeans algorithm to cluster my training dataset.After the model is generated, i need to apply it to my production dataset and see the clusters it falls into.But, i am unable to find a predict function for kmeans to do this. Could you please let me know if there is a predict

Re: [R] Reg : null values in kmeans

2010-12-15 Thread raji sankaran
algorithm that can handle missing values. I doubt that there is a kmeans version that can. Think about inserting means of all other observations into the gaps, though this introduces bias as well. Jannis Raji schrieb: Hi, I am using k means algorithm for clustering.My data contains a few

[R] Reg : null values in kmeans

2010-12-13 Thread Raji
Hi, I am using k means algorithm for clustering.My data contains a few null/NA values.kmeans doesnt cluster with those values.Are there any option like na.omit which can avoid these null values and cluster the remaining values? Thanks, Raji -- View this message in context: http://r.789695

[R] Reg : Using an existing JDBC connection in RJDBC

2010-11-24 Thread raji sankaran
to that database. Can you please let me know if it is possible to use the existing JDBC connection object and retrieve data from it through R? Thanks in advance. Regards, Raji [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] Reg : Using an existing JDBC connection in RJDBC

2010-11-24 Thread Raji
to that database. Can you please let me know if it is possible to use the existing JDBC connection object and retrieve data from it through R? Thanks in advance. Regards, Raji -- View this message in context: http://r.789695.n4.nabble.com/Reg-Using-an-existing-JDBC-connection-in-RJDBC

[R] Null values in R

2010-11-15 Thread Raji
Hi R-helpers , can you please let me know the methods in which NULL values can be handled in R? Are there any generic commands/functions that can be given in a workspace,so that the NULL values occuring in that workspace (for any datasets that are loaded , any output that is calculated) , are

Re: [R] Accuracy/Goodness of fit of nnet

2010-10-21 Thread Raji
be of great help in achieving this for continous values.(like when we use nnet.predict(type = raw) for continuous predictions).It will be my pleasure to be your test user. Thanks and Regards, Raji On Thu, Oct 21, 2010 at 4:46 PM, Claudia Beleites [via R] ml-node+3005405-1812510136-199...@n4

[R] Accuracy/Goodness of fit of nnet

2010-10-20 Thread Raji
Hi R-Helpers , am working on nnet package.Multinom() has an option for finding the goodness of fit by giving the AIC value. Does nnet also gives some value to determine the accuracy. If not, can you guide me with some procedure to figure out the accuracy/goodness of fit of nnet model? Thanks in

[R] using softmax in nnet

2010-10-20 Thread Raji
I run my data in nnet factor response (with 0 1 values) and explicitly put softmax=TRUE. I get the following error. nn -

[R] nnet help

2010-10-13 Thread Raji
Hi R-helpers , i am learning nnet package now.I have seen that the nnet can be used for regression and classification.Can you give me more insights on the other data mining and predictive techniques that the nnet package can be used for? If possible, can you send me links for sample datasets with

Re: [R] nnet help

2010-10-13 Thread Raji
Hi R-helpers , can you please give me more insights on the other data mining and predictive techniques that the nnet package can be used for? -- View this message in context: http://r.789695.n4.nabble.com/nnet-help-tp2993609p2994756.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] nnet support

2010-10-12 Thread Raji
A book/online link with an example for all the parameters that are used in nnet would help in understanding the package better. -- View this message in context: http://r.789695.n4.nabble.com/nnet-support-tp840467p2991572.html Sent from the R help mailing list archive at Nabble.com.

[R] help in nnet

2010-10-12 Thread Raji
Hi R_helpers, i am learning neural networks and trying out using the nnet package in R. R has other packages like AMORE,Qrnn,nnet and monmlp. Can you suggest which package is the most used ? -- View this message in context: http://r.789695.n4.nabble.com/help-in-nnet-tp2991615p2991615.html Sent

[R] non-numerical values as input using nnet

2010-10-12 Thread Raji
Hi R-helpers , am trying out nnet package in R. Does nnet package work only for numerical values as inputs? Can somebody give an insight on how categorical values as inputs are handled using nnet in r with an example? Thanks in advance for your help. -- View this message in context:

Re: [R] non-numerical values as input using nnet

2010-10-12 Thread Raji
Thanks Łukasz.My dataset has 5 columns in which first 3 are numerical , the 4th is a name and 5th is a number(sales).I am trying to use nnet to predict the sales based on the other 4 parameters.The nnet takes each name value as an input. How does nnet take the name value as? -- View this message

Re: [R] nnet support

2010-10-12 Thread Raji
The references have enough information about the package. But, understanding each parameter of nnet would be easier if there is an example for its usage.For example , how to give contrasts, an example with linear outputs etc. -- View this message in context:

Re: [R] help in nnet

2010-10-12 Thread Raji
Sorry.The neural networks would be used for classification, regression mostly with both numerical and non-numerical inputs. -- View this message in context: http://r.789695.n4.nabble.com/help-using-neural-networks-in-R-tp2991615p2991701.html Sent from the R help mailing list archive at