Questions tagged as 'r'

1
answer

How do I make an NMDS chart?

I'd like to show the species in the NMDS chart. I can only show the points of the communities in each group, but I would like to show the species. My chart looks like this:     
asked by 02.08.2018 / 21:21
1
answer

How to convert hexadecimal to binary in an array in r?

I have an array with hexadecimal number, like this: [,1] [,2] [,3] [1,] "FA" "F8" "D0" [2,] "CE" "17" "6A" [3,] "0E" "D6" "22" If I try to convert to binary, with hex2bin(matriz) (biblioteca BMS) , I get: [1] 1 1 1 1 1 0 1 0...
asked by 06.08.2018 / 22:16
1
answer

R on Jupyter Notebook [closed]

I use the Python Jupyter Notebook. I want to start using R too on the same platform. I know it's possible, but I did not find out how. Could anyone give a tip?     
asked by 13.06.2018 / 02:25
1
answer

Problems with dates in R

I am again having date problems in R. I have the dataset below and would like to calculate the date difference between the revisions. It turns out I'm not getting it, sometimes it returns some values I do not know where it comes from, sometimes...
asked by 23.04.2018 / 16:10
1
answer

Replace double for double lapply

I am trying to replace my code that has double for one with double lapply in order to optimize the program since r works in matrix form, it works like this: k<-1 for(i in 1:nrow(tab1)){ for(j in 1:nrow(tab2)){ tab3$col1[k]<-ta...
asked by 13.04.2018 / 22:42
1
answer

R - Graphs with information from different columns

Hello, I have the following problem: I need to create a table and a graph with information about level of education for different positions of the firm for different years and regions. I have 4 levels of education (fundinc, medioinc, super...
asked by 10.04.2018 / 15:34
1
answer

How to plot a graph using a curve function

I need to solve a question about a course in R. But I do not know if I did it correctly. Could you help me please? The question is as follows:    Question 2. Create a vector with the cosine of numbers between -10 and 10.       a) Plot the...
asked by 26.04.2018 / 01:42
1
answer

Box plot with standard deviation

I need to make a boxplot chart with standard deviation, but I do not know how to do it in R. I want to make biomass capture and number of individuals in separate charts if you can give me an example.     
asked by 28.03.2018 / 04:03
1
answer

Plot 2 graphs on one axis and y with different scales

Hello, masters of data analysis I have a problem with plotting two graphs with different scales on the y-axis, the left-hand ones represents unity and the right ones represent Dia. I tried to find some information about it, most of the inf...
asked by 21.02.2018 / 13:49
1
answer

Unique numbering in the data frame

I have a database that contains consumption information per animal and per day. However the animals entered on different days in the experiment. Initially I need to have all animals start counting the days in experiment from 1. Follow part of th...
asked by 08.02.2018 / 10:07