Questions tagged as 'r'

1
answer

Command to describe the data in a table

Hello, I have a database and would like to know the field names through a command in R. What is the best way to proceed? I tried using describe () but with no success.     
asked by 13.12.2018 / 19:56
2
answers

read txt file with less than 5 elements using read.table

I'm trying to read the txt file with two columns below: +-----------------------------------------------------------------------------+ | Category Information | square| | #|description...
asked by 13.12.2018 / 01:21
3
answers

Change betas graphs of a regression

I'm trying to modify the betas graph of this regression that I ran: x c(-0.0179316822180174, -0.00641604898349779, 0.0118829440361971, -0.00821159118344772, -0.0171607214317729, 0.0162441460856755, 0.00963105000906578, 0.00394937550015284,...
asked by 09.08.2016 / 20:15
1
answer

r - average of one variable in relation to the values of another variable in a data frame within each grouping

This question is after a post by me recently. This is the link if you want to follow # I have a multi-column dataframe. How do I calculate the average of one of the variables based on the values of another variable within a grouping of one of...
asked by 10.08.2018 / 21:03
2
answers

Interpolation of decimal numbers in R

Hello! I have a sequence of broken numbers (eg, 191.1, 191.48, 191.87) and wanted to turn those numbers into integers (all 191. turn 191). Is it possible to do this in R or excel? I can not do a simple function because there is no exact sequence...
asked by 23.08.2018 / 22:49
1
answer

Barplot no RStudio - 2 Columns

I'm trying to plot the data below in R with the barplot but it must be missing something, can you help me? dados_estado_civil <- "Estado_Civil Set Out AMIGADO 2494 3857 CASADO 2500 3291 SEPARADO 2504 3545 SO...
asked by 21.06.2018 / 21:51
1
answer

Create variables and fill in information from other variables

Software R. I would like to know how to create variables through information contained in one variable and then populate with information that is in two other variables. Example Iwouldlikeittostaythatway Sorry for the way the question i...
asked by 17.07.2018 / 03:10
1
answer

How to isolate a factor from a result as a vector?

I want to isolate a factor from the result and leave it as vector so you can use this factor in another formula. Example: library(drc) data=S.alba dados$Dose <- as.factor(dados$Dose) alba.aov <- aov(DryMatter~Dose, data=dados) summary...
asked by 18.02.2018 / 01:34
2
answers

How to save a series of xls spreadsheets in csv using R? [closed]

I have 198 worksheets all in Excel (xls format) and need to pass them to .csv format so that I can work with them in R. These worksheets are saved inside a folder on my computer all in .xls format After converting them to .csv I need to unite...
asked by 02.09.2016 / 19:27
1
answer

How to create a graph with two axes and with different scales in R?

I'm trying to plot a chart with 3 datasets. "Precipitation" and "Evapotranspiration" have high values (from 5 to 580) so it would use the same Y-scale (from the shale side) for both plotted data superimposed on line graph. The data of "Days with...
asked by 01.11.2017 / 14:16