rstudio

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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:(
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. A

    Installing R packages in many computers.

    Hello, I am planing to conduct a R practical class for college students. I have installed all necessary R packesges(including R cmdr ) and R studio IDE in my own computer. Now, I need to install R, Rstudio and all those (there are about 100 additional packages) necessary packages in about 50...
  14. Lazar

    R Studio and Sweave

    Question1. So one of the main advantages of Rstudio is the option to create a sweave document and compile a PDF right there. Excellent!!! Problem is........how does one run the LaTeX file once without compiling the PDF so you can update all your internal references to the figures and tables...