Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hi All, I'm new to R and wants to read XML file as R data frame. Is there any package that could be used for this purpose. I will really appreciate your response. Many Thanks and Kind Regards -- Muhammad...
Hi All, Whilst using 'trainControl' and 'train' functions in R studio, an error is raised stating that the functions are not found. I tried installing the caret function a few times, but the error persists. Can anyone guide me how...
Hi All, I have a data frame with three columns i.e., pc, lat, lon. The pc column is populated with list of postcodes, and I want to execute R command that can get me the lat and lon for...
Hi All, I am new to R and don't know how to achieve it. I am interested in generating a hypothetical dataframe that is consisted of say two variables named v1 and v2, based on the following constraints: 1...
Hi All, I'm using number of models such as lm(), tree, randomForest, svm, and nnet for predicting the delays in projects. Also, I computed the sum of squared error for all these models for comparison purposes. However, I want...
Hi All, I have the following dataset: > str(pfi_v3) 'data.frame': 714 obs. of 8 variables: $ project_id : int 1 2 3 4 5 6 7 8 9 10 ... $ project_lat : num 51.4 51.5 52.2 51...
Pls don't mind the typo in predict() functions for some of the models. Sent from my iPhone > On 11 May 2016, at 12:47 am, Muhammad Bilal <Muhammad2.Bilal at live.uwe.ac.uk> wrote: > > Hi All, > > > I have...
Many thanks Max for these valuable suggestions. -- Muhammad Bilal Research Fellow and Doctoral Researcher, Bristol Enterprise, Research, and Innovation Centre (BERIC), University of the West of England (UWE), Frenchay Campus, Bristol, BS16 1QY muhammad2.bilal at live.uwe.ac.uk...
No its not. I am doing all these experiments for my own learning purpose. I am Oracle SQL & PLSQL programmer and I can do these things with Oracle analytical functions. However at present I am keen to learn R, with...
Hi Bert, Thanks for the response. I checked the datasets, however, the Hospitals level appears in both of them. See the output below: > sqldf("SELECT sector, count(*) FROM trainPFI GROUP BY sector") sector count(*) 1 Defense 9 2 Hospitals 101...
Hi Rolf Turner, Firstly, I really appreciate your help. Is it possible to give the number of entries I need so that rnorm function generates only that number of rows? Also is it possible to generate the points with spread...
The dataset could also be downloaded from the following link: https://www.dropbox.com/s/kkiwm32jxfk7jac/pfi_data.csv?dl=0 [https://cf.dropboxstatic.com/static/images/icons128/page_white_excel.png]<https://www.dropbox.com/s/kkiwm32jxfk7jac/pfi_data...
Please find the sample dataset attached along with R code pasted below to reproduce the issue. #Loading the data frame pfi <- read.csv("pfi_data.csv") #Splitting the data into training and test sets split <- sample.split(pfi, SplitRatio = 0...
Thanks you very much. The issue resolved by just upgrading the R and R studio to their latest versions. All the packages are now successfully installed. Henceforth, the code runs absolutely okay. -- Muhammad Bilal Research Fellow and Doctoral Researcher, Bristol...
Hi Bill, Many thanks for highlighting the issue. It worked as I predicted using the tr_m. I'm extremely grateful for the insight. Thanks for all who gave me prior guidance as well. -- Muhammad Bilal Research Fellow and Doctoral...
By non linear correlation I mean that the trend or relationship between two variables is not a straight line. It is slightly curved like the one shared in the first replies. -- Muhammad Bilal Research Assistant and Doctoral Researcher, Bristol Enterprise...
The goal is to test a developed model against two sets of hypothetical data, where the relationship between on data set is linear whereas non-linear (e.g., polynomial) with another. However, the distributions of the v1 and v2 should...
I have achieved this use case by writing the following commands: all_predictions <- data.frame(pid = testPFI$project_id, actual_delay = testPFI$project_delay,lm_pred, tree_pred, best_tree_pred, rf_pred) str(all_predictions) all_pred <- sqldf("SELECT...
Hi Peter, Many thanks for the response. This is exactly what is wanted. I can now use this example to create data for my own purpose. Thanks for everybody who contributed. Warmest Regards, -- Muhammad Bilal Research Assistant and Doctoral Researcher...
Hi All, I have the following script, that raises error at the last command. I am new to R and require some clarification on what is going wrong. #Creating the training and testing data sets splitFlag <- sample.split(pfi_v3...
Can't find what you're looking for? Try searching with Google .