rstudio

  1. D

    How do I assess which is the most suitable model?

    Hey everyone, I am making an R project, and I have computed the models using all the methods we've studied in the lectures (particularly Lasso and Forward stepwise selection). In the conclusion, I have to assess which is the most suitable specification model. Could you help me writing...
  2. W

    null models mpd/mntd community data

    hi I am trying to run a null model for some community data and am recieving the same error repeatedly and have been unable to figure it out. i have tried changing the format, doing a smaller subset and various other things but to no avail. the data format recommended is like this ...
  3. L

    R Studio Markdown text formating

    hello there! I am using R studio with R markdown (converting the report to html website). I have one question and I am quite suprised that I couldn't find an answer to it on the web. How do I format text- like justifying, making new paragraph or an indent in the first line of each paragraph?
  4. I

    how to normalize demand/availability matrix for Citibike data

    I am not a statistician but would appreciate an outside perspective on my current project analyzing citibike data. This is a bit complicated so please bear with me. My goal is to determine to what extent bikes are delivered to stations when they need them, that is, the the average amount of...
  5. Z

    Can I use ANOVA on Rstudio using a Likert Scale like questionnaire ?

    Hello, this is my first post on talkstats so hopefully I make sense. I am 'Comparing Interactive verse non-interaction education displays of Insect and Reptile and Amphibian Conservation'. I handed out a questionnaire to three different groups; a control, a group that was part of the...
  6. F

    How do I optimzie association analysis for the rules to make sense?

    I have a dataset of customers, that I want to define a frequent criteria, to paint a picture of an ideal customer. The dataset has the following fields: -email -fullname -Job (title) -company web domain -company description (string data) -company founded (year) -company employees (number)...
  7. N

    [R - Lavaan] Which estimator for confirmatory factor analysis?

    Hi, Currently I am using Rstudio with the Lavaan package in order to perform a confirmatory factor analysis (CFA) on a dataset (N = ~ 700, 23 observed variables, 2 factors). The problem, however, is that the data are not even close to being multivariate normal, with a Mardia's kurtosis of 378...
  8. H

    Car package in R is not loading (it simply blocks R)

    So, I have installed the CAR package in R (with the dependencies) and when I try to load it, it simply blocks the program, it cannot be loaded. I have waited minutes after minutes hoping it will load, but nothing. Moreover, I have to use the Ctrl/Alt/Delete command to end the R Studio...
  9. T

    Mediaton Analysis

    Hey people, I am trying to find an appropriate mediation analysis method. I want to investigate how an INTERACTION of two variables mediates the association of two different variables. I have read about mediation analysis with one or multiple mediators, but nothing about an interaction as the...
  10. G

    Ordering Data

    Hello, everyone! I am still learning to use Statistical softwares and I have a question about R. I have a data table which has one column with 5571 codes, one code in each line. Each code has 7 digits and I need to delete the last digit of each code. I want to know if I can do this in an...
  11. T

    Mediation analysis for two correlated mediators

    Hey people, I am trying to find an appropriate mediation analysis method. I want to investigate how an INTERACTION of two variables mediates the association of two different variables. I have read about mediation analysis with one or multiple mediators, but nothing about an interaction as the...
  12. M

    Recording from a USB Port in RStudio

    Hello All! I am currently trying to get R to read some voltage data incoming from a DAQ hooked up to my computer by a USB port. I am having trouble finding code to record from a USB device, let along the voltage information. Does anyone know a good way to record information from a USB and...
  13. M

    Error message in R Studio.. help!!! anyone

    Error in csDensity(genes(cuff_data)) : error in evaluating the argument 'object' in selecting a method for function 'csDensity': Error in genes(cuff_data) : error in evaluating the argument 'object' in selecting a method for function 'genes': Error: object 'cuff_data' not found:(
  14. P

    I'm a newb to charts, graphs, and R --Ubuntu 14.04, Rstudio, MySQL, CSV files, Data

    Hi guys, I just wrote an introduction with a couple of reasons as to why I am here. Reason 1 is that I'm not sure where the divide is between big data and just a big MySQL database. We have easily over 1 million records right now in our database and I'm not sure if that is considered big data...
  15. F

    How to write an easy for loop for my function in RStudio? (R script below)

    I received an R script from my prof., it can convert an input adjacency matrix to a network format output. It works properly. I'd like to write a for loop to make the file converting faster. My input files are in .csv format: ["a (1).csv", ..., "a (128).csv"]. This is my code: for(x in...
  16. D

    Using RStudio Server with PostgreSQL Database

    I have installed a RStudio Server on Ubuntu OS machine and PostgreSQL data base for ingesting data. I am able to connect to DB using RPostgreSQL package. I have been able to successfully execute many SQL queries on the data. Can I analyze the data without ingesting data in RStudio. How do I...
  17. B

    Installing Rcmdr into Rstudio on a Mac

    I am trying to install the Rcmdr package into Rstudio on my mac but it keeps crashing as soon as I click the checkmark beside Rcmdr under the Packages tab and then click 'Install packages'. It seems to specifically crash when it tries to load the required package: splines. I tried loading the...
  18. G

    rJava fails loading in RStudio on MacOS

    See the error below, that I get in RStudio 0.98.472 and R 3.0.2. > library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object...
  19. D

    Generalised Linear Model in R

    Hello Talk Stats Members, I am having a little trouble with interpreting the output from my model can anyone give a helping hand. Ok so it is a Generalised Linear Model in RStudio. My outcome variable is either 0 or 1. Here is the output summary from my final model: Call...
  20. B

    Uncertainty Analysis

    Hey guys. So I have a very broad, general question. I am fresh out of school and working my first job. I have been given a dataset and the regression model that was fitted by a previous employer (using R). I am told to perform and write a report on an uncertainty analysis. Frankly, I'm not sure...