Click here to Skip to main content
15,394,479 members
Everything / Programming Languages / R

R

R

Great Reads

by Andy Allinger
Adds features to k-means for missing data, mixed data, and choosing the number of clusters
by Voevudko A. E., Ph.D.
Demonstrating a few approaches to generating and plotting fractals in R and offering R scripts realizing it.
by Amarnath S
An introduction to data analytics, using R, by taking a quick look at the state of World Health.
by Mr. xieguigang 谢桂纲
R# language is a kind of R liked language implements on .NET environment

Latest Articles

by Mr. xieguigang 谢桂纲
R# language is a kind of R liked language implements on .NET environment
by Andy Allinger
Adds features to k-means for missing data, mixed data, and choosing the number of clusters
by Member 4206974
A Tcl -Tk Form Generator that can be used alone or used to provide a fast Form generation for language in which this activity can be complex

All Articles

Sort by Score

R 

Please Sign up or sign in to vote.
24 Dec 2020
Andy Allinger
Adds features to k-means for missing data, mixed data, and choosing the number of clusters
Please Sign up or sign in to vote.
16 Apr 2018
Voevudko A. E., Ph.D.
Demonstrating a few approaches to generating and plotting fractals in R and offering R scripts realizing it.
Please Sign up or sign in to vote.
7 Feb 2017
Amarnath S
An introduction to data analytics, using R, by taking a quick look at the state of World Health.
Please Sign up or sign in to vote.
3 Aug 2022N
Mr. xieguigang 谢桂纲
R# language is a kind of R liked language implements on .NET environment
Please Sign up or sign in to vote.
22 Nov 2016
Miguel Diaz Kusztrich
Using R to explore the complexity of time series generated by a simple process
Please Sign up or sign in to vote.
21 Mar 2016
Afzaal Ahmad Zeeshan
In this post I am talking about the "R Tools for Visual Studio" plugin, and how it can be used to make Visual Studio your default IDE for R programming.
Please Sign up or sign in to vote.
4 Apr 2016
Mr. xieguigang 谢桂纲
R API for drawing venn diagram in VisualBasic
Please Sign up or sign in to vote.
22 Feb 2017
Amarnath S
An introduction to Linear Regression, using R, by taking a look at the pricing of wine.
Please Sign up or sign in to vote.
13 May 2017
Evgeniy Sukhikh
Issues and solutions taken while moving R from cmd to sp_execute_external_script
Please Sign up or sign in to vote.
23 Jun 2014
Henry Tan Setiawan
A short tutorial to visualize high dimensional data (vector) using t-SNE, Barnes-Hut-SNE, and Clusplot in R
Please Sign up or sign in to vote.
17 Feb 2016
OriginalGriff
Nobody knows.We don't have a crystal ball that helps us see the future, any more than you do.All we can do is look at the position now, and try to guess - and that helps no-one.IoT? Probably here for a few more years - but it's a lot of hype with very little substance if you look closely...
Please Sign up or sign in to vote.
10 Jul 2017
Voevudko A. E., Ph.D.
Demonstrating ability of the L-system in R, and offering helper functions able to plot all main categories of figures typical for the 2D L-system.
Please Sign up or sign in to vote.
24 Aug 2018
OriginalGriff
Quote: I want to answer some R questions No, you don't - you want someone else to answer them for you. We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify...
Please Sign up or sign in to vote.
6 Mar 2018
Manish_Rajpoot
The article aims to explain the process of passing input web service parameters to Execute R Script module, in Azure Machine Learning.
Please Sign up or sign in to vote.
16 Sep 2019
Richard MacCutchan
I do not know what is the best option, or how you could determine that, but you may find Python for .NET | pythonnet.github.io[^] useful.
Please Sign up or sign in to vote.
6 Nov 2019
OriginalGriff
We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you. So we need you to do the...
Please Sign up or sign in to vote.
13 Jan 2022
_Asif_
This error occurs mostly due to non numeric values present in the table. Please check this as it explains a bit detail with real example r - Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1) - Stack Overflow[^]
Please Sign up or sign in to vote.
15 Jan 2022
NewbieAR
2 alternatives  
I have to call R from python and show the results graphically through R. For example, if we take Apache, to look at different scores in CVSS database; CVE no, the risk scores, severity, etc. components to use - R, python, and graphical console based tool What I have tried: Getting data in R...
Please Sign up or sign in to vote.
12 May 2022
OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
Please Sign up or sign in to vote.
12 May 2022
Richard MacCutchan
See Basically I need to put correct numbers as input to get "exactly! Good job" answer! Need help to find what will be the inputs and why those inputs works![^].
Please Sign up or sign in to vote.
22 May 2022
Richard MacCutchan
Have you checked the documentation to see if it requires some external library? Quote: Thank you very much, Richard, indeed , I have managed to resolve this, there was a requirement for Janitor package to be installed. I have added these...
Please Sign up or sign in to vote.
25 Apr 2014
Ankit_Sharma1987
4 alternatives  
I am using chat plugin , and initiating a chat, the ajax post which i am using is working on mozilla and other browsers but not working on IE8/IE9. According to cross domain issue i have used "dataType: Jsonp" also but it's not working.Error: SCRIPT5007: Unable to get value of the property...
Please Sign up or sign in to vote.
13 Aug 2014
Member 11010948
I am courious. which tool should be picked for massive sofisticatad statistic calculations data mining machine learning environement ?haskell language is pure functional, no mathematical packages, fast, professional.R language is procedural, has massive mathematical packages, slow,...
Please Sign up or sign in to vote.
30 Aug 2014
OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
Please Sign up or sign in to vote.
30 Aug 2014
Richard MacCutchan
For questions about R see http://www.r-project.org/[^].
Please Sign up or sign in to vote.
31 Jan 2015
Member 11417585
jQuery(document).ready(function(){//hi});
Please Sign up or sign in to vote.
4 Jun 2015
Dave Kreskowiak
If it's a type you're referring to, you're going to have to consult with the people that wrote the .DLL to find out what that type is. From that information you can code up an equivalent type in C# or whatever.SEXP is not a standard type in any language.
Please Sign up or sign in to vote.
6 Jun 2015
Member 11742590
Hello, I have a problem with the allocVector () function. I wrote a code (DLL) in C that can be called in R. I would like to call a method of that DLL into my application in C#. The DLL code works fine but when the compiler reaches the next line SEXP Rout = PROTECT (RclustOut = allocVector...
Please Sign up or sign in to vote.
10 Aug 2015
livinkalai
This cause because of bug in jQuery particular version. if you dont want to change the jQuery version,you can simply add this line in your code $.support.cors = true;or3.you can add jquery migrate js file to resolve this. http://code.jquery.com/jquery-migrate-1.2.1.js
Please Sign up or sign in to vote.
12 Aug 2015
Patrice T
I recommend to use the debugger.run the program step by step, you will see where is the error.You will be able to inspect variables.
Please Sign up or sign in to vote.
4 Nov 2015
Member 12114684
I would like to use the apply() function and create an object called 'Item.IQR' that contains the interquartile range of each of the first four columns of "iris". How do I go about doing this? I am new to R and I'm not even sure how to navigate the iris dataset. Could someone please help me...
Please Sign up or sign in to vote.
16 Nov 2015
girish sp
I have to work with c tree(Conditional Inference Trees) in my Asp.net project,i know c tree is directly not supported, so i am looking for the alternatives which i can start with, i came across r.net i cannot use it as it requires executable to be installed on client side, i went through the...
Please Sign up or sign in to vote.
18 Dec 2015
Member 12216251
I am trying to calculate a regression variable based on a range of variables in my data set. I would like the regression variable (ei: Threshold 1) to be calculated using a different variable set in each iteration of running the regression.Data (df)is composed of variables: Yield, Prec,...
Please Sign up or sign in to vote.
17 Jan 2016
RS.Ratheesh
How can i replace value from a dataframe within some logical range?.Column name should be string.selCoumn = 1 & mtcars$selCoumn =1 &
Please Sign up or sign in to vote.
8 Feb 2016
Daniel 11317535
Autodeploy case36 using R
Please Sign up or sign in to vote.
12 Sep 2016
Omar Abd El-Naser
I've data and I want to visualize it on Time-Spiral graph.I wanna have a graph like thishere's a pic for the graph i wanna drawHere's the graph i wanna drawhere's a piece of my data Date1 Time TravelTime 2016-09-04 13:11 34 2016-09-04 13:12 ...
Please Sign up or sign in to vote.
23 Sep 2016
Member 12757084
test[,(factcols) := lapply(.SD, factor), .SDcols = factcols]factcols has a list columns for which the above needs to be applied. I am trying to understand what does .SD and .SDcols mean in the above code.Thanks in advance!!What I have tried:I am trying to understand what does .SD...
Please Sign up or sign in to vote.
2 Nov 2016
vipulkumar patel
Here is an example xml webpage I am accessing and parsing with XML package in R. I am interested in accessing the following information. and ,Here is the code I am running but it extract the first comment node regardless of...
Please Sign up or sign in to vote.
6 Mar 2017
Member 13042192
How can I create a function that also considers these three other trios of data and run the 'if' function for the ten lines of the dataframe? I ultimately want to have an output of ten lines and four columns (za, zc, ze, zg) with the information: TRUE or NULL.What I have tried:I have...
Please Sign up or sign in to vote.
20 Mar 2017
OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
Please Sign up or sign in to vote.
25 Mar 2017
OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
Please Sign up or sign in to vote.
12 Apr 2017
Nick_3141592654
You can find a good explanation of Median and Mean filtering here and here
Please Sign up or sign in to vote.
10 May 2017
Member 13191541
In R programming - How do I plot a network visualization graph given a matrix X with a 2 column coordinate system: coordinates
Please Sign up or sign in to vote.
15 Jun 2017
Member 13262840
I am using a large dataset and I am not used to using one this big (286,212 rows, 19 columns) and I am not sure how to go about my problem. the data is made up of values for each day of the year for 782 grid references and I have this for 15 years. It looks as follows **Month Day Grid x2004...
Please Sign up or sign in to vote.
20 Jun 2017
AshwiniKJ
We can call a R script from C++ code as below, #include "stdafx.h" #include using namespace std; int main(int argc, char **argv) { cout
Please Sign up or sign in to vote.
18 Jul 2017
AshwiniKJ
1 alternative  
I have column name in a variable. I want to acess that column from a csv how will I do it?. What I have tried: RawData
Please Sign up or sign in to vote.
9 Jul 2017
Smartguy3k
Hi, I am trying to run few spark commands using SparkR (from local R-GUI). For setting up the spark cluster on EC2 I used most of the commands from ( https://edgarsdatalab.com/2016/08/25/setup-a-spark-2-0-cluster-r-on-aws/) with little modification to install the latest versions. All I was...
Please Sign up or sign in to vote.
9 Jul 2017
Joezer BH
Another thing you can do is run the R code in process you create just for that task. See this code sample written by Jake Drew on stackoverflow: public static string RFromCmd(string rCodeFilePath, string rScriptExecutablePath, string args) { string file = rCodeFilePath; ...
Please Sign up or sign in to vote.
11 Jul 2017
Member 13304699
Thank you for taking the time to read my message. (Using the **logit** function in package **car**) My Statistical analyses were conducted on probability estimates ranging from 0% to 100%. As it's not ideal to run linear models on percentages that are bounded between 0 and 1, these...
Please Sign up or sign in to vote.
18 Jul 2017
AshwiniKJ
This can be done as below, RawData[[colName]] Two [[]] will help to access the column with variable name.
Please Sign up or sign in to vote.
24 Aug 2017
KarstenK
Sounds like you need to learn some basics for your job. At first you need to read the file. How it can be done is explained in Input/output with files tutorial. After that you must split the string in parts as discussed in this answer of stackoverflow. I like the last sample code most. Than...
Please Sign up or sign in to vote.
27 Oct 2017
Member 13489644
Hi, I know both SAS and R and can help translate it to you. But this post a little old. So if it is still actual, please, write me via mail: bestuser@mail.ru, topic: 'sas into R' Thanks, Step 0; #get data into R Step 1; /*get all distinct main cpts from CMS data*/ cms_filter
Please Sign up or sign in to vote.
11 Jan 2018
OriginalGriff
Quote: I am considered an intermediate in R and also C++ what kind of programming language I could take up and learn to make a commercial statistical software ? Any of them, depending on environment. If you want a web app, you want a server language (VB, C#, C++, PHP, ...) and client language -...
Please Sign up or sign in to vote.
20 Jan 2018
David_Wimbley
So you pretty much need to google tutorials on how to use pyhton and R...unless you've actually attempted what you are trying to accomplish and have some code to show where you are stuck...a google search for tutorials is going to be the best place for you to start. Google[^] Now once you've...
Please Sign up or sign in to vote.
11 Mar 2018
Girish Deshmukh
When I call R script method from Web API it is working for first request it returns the result, but for subsequent request getting Stack overflow exception. The same code is working on another system, tried desposing all the objects in the R. Please help me to sort out this issue. Using R...
Please Sign up or sign in to vote.
25 Apr 2018
OriginalGriff
We do not provide a code conversion service, and code conversion rarely produces good code in the target language anyway: either learn SAS plus R and convert it yourself, work out what the SAS code is doing and recode that functionality in R, or find R code that does the same job.
Please Sign up or sign in to vote.
26 Apr 2018
Member 13800477
So I have a data frame with 2 columns that have TRUE and FALSE values. I want to find the rows that contain TRUE for both columns in a given row, and create a vector with Boolean values, only outputting TRUE if it meets the criteria above. E.g. dat
Please Sign up or sign in to vote.
6 May 2018
Member 13658733
for(i in 1:dim(dataset)[1]){ hitlist=trainmy2[trainmy2$VisitNumber==dataset[i,2],] dayofweek=names(hitlist)[3:9][hitlist[1,3:9]>0] dataset[i,dayofweek]=1 hitlist2=Copy_Walmart[Copy_Walmart$VisitNumber==dataset[i,2],] agg=aggregate(ScanCount~DepartmentDescription,data=hitlist2,sum) ...
Please Sign up or sign in to vote.
1 Jun 2018
Member 13440232
I am having my very first experience with data tables. I have a data table "dt" created using: dt A B C D E 1: -1.6288978 -1.6288978...
Please Sign up or sign in to vote.
3 Jun 2018
Member 13856644
Library phyoloseq Data= Globalpatterns GP = filter_taxa(GlobalPatterns, function(x) sum(x > 3) > (0.2*length(x)), TRUE) Define a human versus non-human categorical variable, and add this new variable to sample data: sample_data(GP)$human = factor( get_variable(GP, "SampleType") %in%...
Please Sign up or sign in to vote.
20 Jun 2018
lakshya rastogi
I came across to a problem where in I have to use data from XML file, and these XML files are quite big. i need only limited information from this file. Can you please suggest me the ways to pull data, i tried my best by seeing videos and free resources to pull data out but failed to do so. i am...
Please Sign up or sign in to vote.
22 Jul 2018
KeyurKelkar
1 alternative  
Hello, I have struggled for the past 2 weeks to make the code contained in the following codeproject.com article to work in the Windows 10 environment: Lightning-Fast R Machine Learning Algorithms[^] It seems to me that I am not correctly setting up behind the scenes (e.g. choice of compiler,...
Please Sign up or sign in to vote.
22 Jul 2018
Jochen Arndt
This might not be the final solution but should fix some errors and prevent from having other (future) problems. You are using the Intel compiler but include the MS Visual C++ header files. Specifying the Intel include file directory ($(ICInstallDir)\compiler\include\) as very first path in the...
Please Sign up or sign in to vote.
25 Jul 2018
KeyurKelkar
1 alternative  
Hello I am trying to replicate the analysis shown in: Lightning-Fast R Machine Learning Algorithms[^] , in Windows 10 I am replicated the packages noted in the article, and further to help from a kind person in previous post, have come across a few last errors which i am hoping someone might...
Please Sign up or sign in to vote.
25 Jul 2018
OriginalGriff
Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them. Posting this here relies on them...
Please Sign up or sign in to vote.
6 Aug 2018
Member 13939747
I have a data with 2 columns. Var1 - school classes, Var2 - names of students in the class. What command can I use to make a new matrix that will show how many times are repeated unique names in var2 for each unique var1? Var1 Var2 9 Sarah 9 John 12 Sarah 11 Veronica 10 ...
Please Sign up or sign in to vote.
13 Aug 2018
goshan2011
I have a bar chart to display. Currently MVC controller's action method makes call to a stored procedure in SQL and the returned data in data table format is bound to the chart. what now i wanted to achieve is , consider the data returned from SQL, pass it to R script to do some processing and...
Please Sign up or sign in to vote.
15 Aug 2018
KeyurKelkar
1 alternative  
Hello, I am trying to open an interactive session of R from Wine. I need to run R from the Rhel7 host as I have recompiled it specifically for my purpose. I am having trouble with (1) Opening R in the host from Wine, by way of commands, and (2) ensuring that R from the Rhel7 host is kept open...
Please Sign up or sign in to vote.
15 Aug 2018
Richard MacCutchan
Please do not repost the same question, you already asked this at How to open an interactive bash shell from wine (in RHEL7)[^]
Please Sign up or sign in to vote.
16 Sep 2018
nishant damani
Hello everyone i am a Business Intelligence developer working in SSIS, SSAS SSRS and SQL with 3 year of experience, now i want to take my career a step ahead and want to become data scientist so can anyone guide me on what to learn R or python, also what other things should i learn in order to...
Please Sign up or sign in to vote.
17 Oct 2018
Richard MacCutchan
R: The R Project for Statistical Computing[^]
Please Sign up or sign in to vote.
24 Jan 2019
Member 14128867
I am trying to subsample a data set in R. When I do this I get an error stating "Error in `[.data.frame`(body, , b, w, h, a) : unused arguments (h, a)" What can be causing this? body=read.table("BODY_FAT.txt") d=as.numeric(as.character((body$V1))) bfp
Please Sign up or sign in to vote.
22 Feb 2019
Member 13233096
I am using R studio, Now i want to install LightGBM for window. I have Installed Git for Window, CMAKE and MINGW64. The path of GIT is C:\Program Files\Git\bin and the path of CMAKE is C:\Users\MuhammadMaqsood\Downloads\cmake-3.13.3-win64-x64\bin I have set...
Please Sign up or sign in to vote.
5 Mar 2019
Member 14171998
Hi people. I am beginner in R Language. I have the following problem: from many PDF files containing technical reports (in Portuguese language) from many authors (all is in Natural Language) how can I develop an Intelligent System to identify the Author(s) Name(s) by an input of small set of...
Please Sign up or sign in to vote.
19 Apr 2019
MadMyche
Sorry, never went to college so I never learned how to do my own assignments; much less someone else's. In all seriousness, this is your homework. It is intended for you to reinforce what you have learned. Asking others to do this for you means you've learned nothing about the course. So try...
Please Sign up or sign in to vote.
19 Apr 2019
OriginalGriff
We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you. So we need you to do the...
Please Sign up or sign in to vote.
19 Apr 2019
Patrice T
Quote: this is my collage assigsnment so please help in solving this The principle of homework is to make you practice and learn by trial and error. Having us to do your homework just defeat the purpose. We do not do your HomeWork. HomeWork is not set to test your skills at begging other...
Please Sign up or sign in to vote.
12 May 2019
Patrice T
We are not their support service, try to contact them or the author.
Please Sign up or sign in to vote.
19 Jul 2019
avinash0513
Hi All, I have two lazy tables, table1 and table2. I want to do a rbind of these two tables. Please note that Table1 and Table2 are not data frames, they are of class tbl_impala/tbl_sql/tbl_lazy/tbl. Can someone help me with the syntax? What I have tried: Table3 = bind_rows(Table1, Table2) ...
Please Sign up or sign in to vote.
30 Sep 2019
Member 4206974
A Tcl -Tk Form Generator that can be used alone or used to provide a fast Form generation for language in which this activity can be complex
Please Sign up or sign in to vote.
12 Oct 2019
Kristina Hunter
I have a dataframe (df) with 4 columns: Start date, Stop date, Launch date, and NMBR (Usage amount - numerical value). I have another dataframe (usage) with two columns: time1 and usage. I am trying to check if each date in the time1 column in the usage dataframe falls between any of the start...
Please Sign up or sign in to vote.
16 Oct 2019
Richard MacCutchan
If you are referring to an article here on CodeProject then please post your question in the forum at the end of the article, so the author can help you.
Please Sign up or sign in to vote.
2 Nov 2019
Member 14642251
2 alternatives  
I need some help with R since I am new with this specific language. I need to create a table where the only data I have is ranges ((1,5],(5,10],(10,15]) and the respective percentage(40%,50%,10%). From the said table it has to be possible to calculate the Modal Class and a graph representing the...
Please Sign up or sign in to vote.
2 Nov 2019
Richard MacCutchan
See Create class R - Google Search[^].
Please Sign up or sign in to vote.
2 Nov 2019
RickZeeland
See: best-resources-to-learn-r[^]
Please Sign up or sign in to vote.
4 Mar 2020
Trey Lewis
Hi, Im working on an survey analysis and found SAS code that creates what I want to do but I do not have SAS. Can anyone help me translate this code to R LABEL SUSCEP = 'Susceptibility Index'; if &CR7SUSCEP.=1 then do; if &CR12SUSCEP. IN...
Please Sign up or sign in to vote.
15 Oct 2020
OriginalGriff
Read the question carefully. Re-read your course notes. Then read this: How to Write Code to Solve a Problem, A Beginner's Guide[^] Then re-read the question and think about the task it describes. Give it a try - this isn't a complicated...
Please Sign up or sign in to vote.
22 Nov 2020
Member 14999754
1 alternative  
Hello, i tried following ways but none of them worked 1. trying to install rpy2 (version 2.9.4) using anaconda, facing error of python version unsatisfied (when python == 3.8.3 or anything over python==3.7.1). 2. when tried same using pip...
Please Sign up or sign in to vote.
22 Nov 2020
Richard MacCutchan
rpy2 3.3.6· PyPI[^]
Please Sign up or sign in to vote.
15 Dec 2020
OriginalGriff
This is not a code conversion service: we are not here to translate code for you. Even if we did, what you would end up with would not be "good code" in the target language – they are based on very different frameworks, and what makes something...
Please Sign up or sign in to vote.
15 Feb 2021
Gerry Schmitz
Data Analysis in Excel - Easy Excel Tutorial[^]
26 May 2017
Intel Corporation
We’ll begin with a little history and some basics that everyone who picks up R and cares about performance ought to know.
14 Aug 2017
Intel Corporation
In this article, we discuss our teachings about data science in a series of steps so that any product manager or business manager interested in exploring this science will be able take their first step toward becoming a data scientist or at least develop a deeper understanding of this science.
31 Aug 2017
Intel Corporation
The JuliaProject Continues to Break New Boundaries in Scientific Computing
Please Sign up or sign in to vote.
19 Apr 2021
debbie oomen
I'm having a tough time figuring this out and I will try to explain where I need help the best I can. I have a dataframe consisting of participant ID (column 1), possible dates of an appointment for that participant (column 2, ranging from V1 to...
Please Sign up or sign in to vote.
31 Aug 2021
Member 15336701
I can't figure out how to create letter 'J' and 'K' using point plots in r the following code builds an H. x=c(rep(0,500),seq(0,1,length.out=1000), rep(1,500)) y=c(seq(-1,1,length.out=500),rep(0,1000), seq(-1,1,length.out=500)) z=rbind(x,y)...
Please Sign up or sign in to vote.
23 Sep 2021
Member 14007867
I have imported a new set of data, it's called "data2". When I put View(data2) a new window opened with all of my data. There are 4 variables in my data: house_size, number_of_beds, price.of.house., and Region (A,B,C,D,E). My mission is that I...
Please Sign up or sign in to vote.
12 Oct 2021
chin21504
I am trying to create a new datframe using paste0 function and i need to copy an existing dataframe into it. e.g. ty 1) { Paste0("mynewdata",ty)
Please Sign up or sign in to vote.
28 Nov 2021
Eliza Romanski
I have a problem which i'm finding tricky to solve . I have a data frame that looks like this : ...
Please Sign up or sign in to vote.
26 May 2022
smartcoder22
1 alternative  
Hi all, One of my independent variable in a data that I want to use for Multinomial logistic regression has more than one text values in some of the cells i.e like high,higher or high,higher,highest . Can I use this variable as it is or is...
Please Sign up or sign in to vote.
26 May 2022
Gerry Schmitz
It's called "binning"; do what you need to do to the data to have it make sense for your particular "model". e.g. Height is almost meaningless (for most) unless it's in terms of short, medium, tall (i.e. range binning). ...
Please Sign up or sign in to vote.
23 Jun 2022
Boris Gomez
I am developing an application in R shiny and I would like to make a graph dynamic by adding points, error bar, and lines using the ggplot2 package R. The columns of my dataframes have no names because I merge Excel files uploaded by the user...
Please Sign up or sign in to vote.
3 Aug 2022U
Richard MacCutchan
You need to declare tmpvarname1 and tmpvarname2 in the global space so they can be accessed inside and outside of the loop. You also need to use the global assignment operator (
Please Sign up or sign in to vote.
3 Aug 2022U
rscp1
1 alternative  
I have been trying to get this R code to assign integers on the fly. It works when they are less than 99, but the else statement seems to not be working. I keep getting errors stating: object 'tmpvarname2' not found parameters = c(6202, 5, 6401,...
Please Sign up or sign in to vote.
9 Aug 2022N
OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
Please Sign up or sign in to vote.
9 Aug 2022U
Richard MacCutchan
See R Tutorial[^] for a nice introduction to learning the language. [edit] Having read your question in more detail I am not sure that it has anything to do with programming. [/edit]
Please Sign up or sign in to vote.
10 Aug 2022N
Patrice T
Quote: I purchased 7 coruses from Udemy to go deep in python,R and ia. Learning some programming languages is nice, but there is also a huge technical backup not linked to a specific language. You have to know that you can do pretty much...
Please Sign up or sign in to vote.
22 May 2022
smartcoder22
1 alternative  
Am just starting out in R and machine learning. Am working on a hierarchical clustering problem where after getting clusters of attitudinal variables (e.g preference for a certain choice), I want to do target segmentation by combining the cluster...
Please Sign up or sign in to vote.
7 Aug 2016
MohamedKamalPharm, Omneya Hassanain, Nouran Yasser, Fatma Abdelhameed
Simulation Model to plan the capacity of an oncology Hospital with limited number of beds. The R script is run on R Studio or called from PHP.
Please Sign up or sign in to vote.
2 Dec 2021
MohamedKamalPharm
Discrete event simulation example
Please Sign up or sign in to vote.
16 May 2014
Zijian
Rapidly develop a console with a lot options and give a command line program a GUI
Please Sign up or sign in to vote.
24 May 2017
Akhil Mittal
In this and the following articles on Machine Learning to figure out whatMachine Learning is and what can be achieved with it
Please Sign up or sign in to vote.
19 Mar 2016
Afzaal Ahmad Zeeshan
In this post I am going to walk you through installing and setting up the R environment on your Windows operating system; because Visual Studio is only available on Windows.
Please Sign up or sign in to vote.
14 May 2008
Jeff B. Cromwell
Use the R Language in C#.NET applications.
Please Sign up or sign in to vote.
4 Jun 2017
Akhil Mittal
This is the second article of the series and will largely focus on machine learning processes and scenarios.
Please Sign up or sign in to vote.
26 Dec 2016
Fernando de Oliveira [MCP]
What if you could predict data using a cloud-based environment? You can do it with Azure Machine Learning.
Please Sign up or sign in to vote.
25 May 2016
Bud Gressett
Explaining Naïve Bayes
Please Sign up or sign in to vote.
3 Jun 2017
Voevudko A. E., Ph.D.
Generating and plotting random Voronoi Diagrams and offering web-page supporting it and R scripts.
Please Sign up or sign in to vote.
24 Aug 2017
Jochen Arndt
For example by Reading the text file line by line Converting each line to a 64-bit integer and store that in an array Writing 8 values from the array to a text file separating them with a comma Depending on the language this might require to determine the array size in advance by...
Please Sign up or sign in to vote.
24 Aug 2018
Patrice T
Quote: Please help me with the right answers The right answers does not matter as much as the answers being yours. As the answers reflect your knowkedge, they will heko your teacher to spot your weaknesses and apply remedy. You need to reread your lessons and do some research. We do not do...
Please Sign up or sign in to vote.
6 Jun 2018
Voevudko A. E., Ph.D.
Briefly discussing web accessibility in general. Stressing a few prime points/tips that are easy to use and always good to follow. Suggesting to start using easy to understand and remember "rules of thumb".
Please Sign up or sign in to vote.
25 Aug 2017
Member 13376675
2 alternatives  
this txt file contains hex values i want to change this into dec and divided into li l2 t1 t2 v1 v2 p h these are hex values 4f337d5000000001 4f337d5000000001 0082004600010000 0082004600010000 334f464600010000 334f464600010000 4f33464601000100 4f33464601000100 334f464600010000 334f464600010000...