Questions tagged as 'r'

1
answer

How do I format rows (observations), columns (variables) to this file?

I'm thinking how to give the typical dataset format to the 1 next document excell, the only option that has occurred to me is transpose manually in excell, some idea in Excell or R? The idea is to have in each row a neighborhood or district of...
asked by 27.11.2018 / 22:46
0
answers

Warning in R Markdowm strsplit

I'm making a report using R markdown, but every time I run a line I have the following warning message:    Warning messages: 1: In strsplit (content, "\ n", fixed = TRUE):   input string 1 is invalid UTF-8 I am writing in Spanish and sav...
asked by 22.11.2018 / 05:04
0
answers

Impose conditions when adjusting a curve

I am trying to fit a series of points to a function of the form f(A)=a·(1-exp(-21.6·A))+b·A+c·A^2+d·A^3 . I want this function to satisfy the condition% co_of%, then, since% co_of% is small, I approximate this condition as% co_of%. The...
asked by 23.11.2018 / 12:29
0
answers

Help with regular expression

I have tried, without success, to create a regular expression that allows me to differentiate values of a vector in R that have the following format "sb183107" "sb183108" "sb183124" "3989-15" "761-16" "3554-15" I've tried with [^\d-]...
asked by 21.11.2018 / 17:07
0
answers

How to use predict with nnet in R

I have the following question: I'm making a neural network with nnet in R. library(RODBC) library(nnet) library(neuralnet) library(devtools) library(reshape2) library(readxl) library(dplyr) library(reshape) library...
asked by 12.11.2018 / 05:26
0
answers

Error: can not allocate vector of size 5.1 Gb

I'm trying to do a logistic regression in R and after almost an hour I get an error message Error: can not allocate vector of size 5.1 Gb I have looked at the memory.limit () and memory.size () functions and this is the result    memory.lim...
asked by 31.10.2018 / 19:00
0
answers

Doubt with reactive event - Query in table

Guys I need to read a value in a drop-down list, this value take it and put it inside the as.numeric function, the value r I use it in a graph How can I do it? r <- as.numeric(arcs$input$select)     
asked by 11.10.2018 / 16:17
0
answers

Geolocate data in R

I have a series of address records in text, and I need to get LAT and LONG. To avoid using the google maps API, I am trying to perform the search of the addresses in Google to get the full URLs of google maps where LAT and LONG appear. So far I...
asked by 10.10.2018 / 17:09
0
answers

R. Import files format phyDat

I want to import a file with several genetic sequences in phyDat format The steps to follow are: Import fasta alignment of several sequences previously aligned in the Mega program. aln.1.cons.fa <- read.fasta("C://Users/Ricky/WMV_CP_A...
asked by 18.09.2018 / 16:43
0
answers

Uninstall R (Ubuntu 16.04 LTS)

I am using a server with Ubuntu 16.04.5 to perform some bioinformatic tasks. However, a problem arose using the tximport package of R, and when looking for some info, it seems that it may be the version's fault. The thing is that I installed 3.4...
asked by 18.09.2018 / 12:36