Below is an example of the code to generate the cloud :
comparison.cloud(tdm, random.order=FALSE,
colors = c("tomato", "wheat", "lightblue","lightgreen"))
The words are easily colored with the above command but the labels...
I need to set a nonlinear function through the routines nls
or nlsLM , however, my data generate heteroscedastic residues when calculated with these routines, which does not allow me to adjust directly through the sum of the square...
I used xmlSApply and would like to get the result with a separator but could not apply.
Below is an example so that they can reproduce:
library(XML)
fileUrl <- "http://www.w3schools.com/xml/simple.xml"
doc <- xmlTreeParse(fileU...
Be a Matrix:
bb=replicate(3, rnorm(3))
[,1] [,2] [,3]
[1,] 0.5556358 1.6611142 0.2374830
[2,] -0.6672456 -0.5038430 0.9814712
[3,] -0.1391022 -1.2072500 -0.6219965
How can I return a second array with all possibl...
The functions to get the Focus Report Central Bank Expectations are the following error:
Error in curl::curl_fetch_memory(url, handle = handle) :
Failure when receiving data from the peer"
Example of Cran's own pdf:
library(rbcb)
i...
Hello everyone.
I'm trying to develop a code that makes it possible to parser HTML files using the R language and, consecutively, write the extracted HTML data to the SQLite database in a serialized way.
In order to perform parallel processin...
I am trying to reproduce the accounts of example 5 of this pdf on discriminant analysis. When doing the accounts without using any packages, I get the same results of the file, as per the code below. However, when using the MASS package...
I asked a previous question in this forum ( Randomly choosing rows in an array in R ) where you needed to randomly choose p rows (p < m), without replacement, from that array. Thus creating a matrix p x n with which it was possible to perform...
I changed the computer today in the service and my codes stopped working, giving encoding error in the files folder:
> setwd("I:/AGG/01. DIGEP/Relatórios Gerenciais/Edição/2018-08-17")
> getwd()
[1] "I:/AGG/01. DIGEP/Relatórios Gerenciai...