Hola Rafael, con la librería data.table podrías hacerlo algo así:
library(data.table)
dat <- fread("tusdatos")
dat[,sum(Monto),by=.(D,Grupo)]
y obtener esto:
D Grupo V1
1: a 1 6.575
2: a 2 3.497
3: b 1 5.637
4: b 3 4.445
5: c 2 4.935
6: c 1 2.299
7: c 3 1.111
Buenas nochesme podrian ayudar a decirme como pasar los datos de una
regression a un dataframe para despues pasarlos a excel?
df<-read.csv("datos.csv")
x<-df$X
y<-df$Y
poisson <- glm(y ~ x, df,family = 'poisson')
coef(poisson)
exp(coef(poisson))
[[alternative HTML version deleted]]
When I add a new function to an .R file in a package and then use
ctrl-enter, I get an errror like this:
R> Error in ss(file, echo = visibly, local = local, print.eval = output, :
c:/Temp/misc.R!rO7Rz0:2:0: unexpected end of input
1: test <- function(x) {
^
I've seen some discussion about
Does anyone know any R library that runs meta-analysis in SAS differently
for Sensitivity and Specificity if I have only the following info?
Regards,
Greg
specificity sample_size Sensitivity Sample_size
1 21 0.66 57
1 70 0.55 33
1 19 0.76 17
1 10 0.4 30
1 16 0.46 11
[[alternative HTML
Dear R Experts!
I would really love to perform probabilistic risk assessment for human
health and ecological using Monte Carlo. I am knowledgeable in the risk
assessment part but have no idea how to incorporate Monte Carlo simulation
using R. Is there anyone out there in the wide wide world of R
AFAIK this receiver-side responsibility to specify the text/binary status of
the file is particularly a problem with the "ftp://; protocol because it does
not use MIME file encoding (which "http://; uses). MIME allows the sending end
of the connection to communicate whether the file is text or
On 06/12/2018 7:45 AM, Kate Stone wrote:
Hello r-help,
Could you help me determine whether this is an R bug or not?
I've been trying to read this binary file in R:
download.file("ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/preprocessing_erp/s04.eeg","s04.eeg;)
and I get a different
Hi,
this is what i got, just with base R:
> a <- download.file("
ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/preprocessing_erp/s04.eeg
","s04.eeg")
probando la URL '
ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/preprocessing_erp/s04.eeg
'
Content type 'unknown' length
Dear Kate,
I cannot find your small script, but I downloaded the file using your command
line. It has the size of 142773760 bytes (136.2 MB).
Hth,
Albrecht
--
Albrecht Kauffmann
alkau...@fastmail.fm
Am Do, 6. Dez 2018, um 13:45, schrieb Kate Stone:
> Hello r-help,
>
> Could you help me
Hello r-help,
Could you help me determine whether this is an R bug or not?
I've been trying to read this binary file in R:
download.file("ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/preprocessing_erp/s04.eeg","s04.eeg;)
and I get a different length file (i.e. much longer) in Windows
Dear John,
Thank you very much for your reply.
On Thu, 06-December-2018, at 03:43:06, Fox, John wrote:
> Dear R.,
>
> The problem you constructed is too ill-conditioned for the method that
> Anova() uses to compute type-II sums of squares and the associated
> degrees of freedom, with an
Hi community,
I have an interesting challenge that i think that it can be resolved using
NMF.
I have a total of 52 product with different protein profiles. I would like
to make two protein premixes (two unique profiles) to create all the SKU
using different concentrations of them (mixing). I have
12 matches
Mail list logo