Displaying 20 results from an estimated 800 matches similar to: "extract elements"
2007 Jul 24
4
values from a linear model
Dear R users,
how can I extrapolate values listed in the summary of an lm model but not
directly available between object values such as the the standard errors of
the calculated parameters?
for example I got a model:
mod <- lm(Crd ~ 1 + Week, data=data)
and its summary:
> summary(mod)
Call:
lm(formula = Crd ~ 1 + Week, data = data, model = TRUE, y = TRUE)
Residuals:
Min
2007 Jun 22
2
multiple return
Dear User,
what's the correct way to obtain a multiple return from a function?
for example creating the simple function:
somma <- function (a, b) {
c <- a+b
return (a, b, c)
}
when I call it, it runs but returns the following output:
> somma(5, 7)
$a
[1] 5
$b
[1] 7
$c
[1] 12
Warning message:
return multi-argomento sono deprecati in: return(a, b, c)
i.e. multi-return is
2007 Jun 20
2
add line to data.frame
Dear R user,
how can I update a data.frame adding new lines?
I need to create a second data frame from a first one with only some of their
entrys filtering the value of a specific column... How can I do this?
thankyou very much in advance
best regards
Manuele PEsenti
--
Manuele Pesenti
manuele a inventati.org
amicogodzilla a jabber.linux.it
http://mpesenti.polito.it
2007 Jul 18
2
hist() Frequancy values
I have seen that the hist() function plots an histogram of the frequency but I
cannot find the value of the object hist that contains theese values... how
is possible to get out them?
thank you very mutch
best regards
Manuele
--
Manuele Pesenti
manuele a inventati.org
amicogodzilla a jabber.linux.it
http://mpesenti.polito.it
2007 May 21
1
question about forward library
Dear R User,
I'm a new member of this list, I'm using R language from a short time and I
would like to ask you something I cannot solve...
I'm using the fwdlm function from the forward library, I'm specially
interested by the results of Cook's distances: I'd want to know which inputs
are the cause of peacks in Cook's distances plot; because what I find in
abscisas
2007 Jun 24
2
matlab/gauss code in R
Hi all!
I would like to import a matlab or gauss code to R.
Could you help me?
Bye,
Sebasti?n.
2007/6/23, r-help-request en stat.math.ethz.ch <r-help-request en stat.math.ethz.ch>:
> Send R-help mailing list submissions to
> r-help en stat.math.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2018 Apr 27
4
[PATCH] allow indefinite ForwardX11Timeout by setting it to 0
This change allows use of untrusted X11 forwarding (which is more
secure) without
requiring users to choose a finite timeout after which to refuse new
connections.
This matches the semantics of the X11 security extension itself, which
also treat a
validity timeout of 0 on an authentication cookie as indefinite.
Signed-off-by: Trixie Able <table at inventati.org>
---
clientloop.c | 12
2003 Jun 16
2
CPU consumption by samba
Hi,
I'm having strange performance problems with samba and an application written
with VisualFox Pro.
This application is entirely installed in a Windows share and it has a hystory
of strange phenomenons.
Initially it ran fast on an old NT server (but that server has been replaced).
It has strange performance problems with Windows 2000 Server: it runs fast
with some servers and slow with
2017 Feb 14
3
Samba AD domain member with SSSD: ACL not work
On a Centos 7 minimal fresh install and samba 4.4.4 I have follow this
howto:
http://www.hexblot.com/blog/centos-7-active-directory-and-samba
and I have Joining to an Active Directory server and login to it with
domain user without problem.
My problem occur when I try from windows to modify some new rights
(ACL's) to new folder on samba share.
The folder is created correctly but if I add
2012 Jan 07
1
using deltat parameter in time series in HoltWinters prediction
Hi.
I have to forecast a time series of a Internet network traffic bitrate.
The data are in file
http://www.forumaltavilla.it/joomla/datitesi/dati.datand the sampling
time is every 0.05 seconds.
Now, i want to use HoltWinters forecasting. This is my script.
dt=1.58443823e-9 #0.05 seconds in years
dati.ts=ts(scan("dati.dat"),start=0,deltat=dt)
model=HoltWinters(dati.ts)
2004 May 13
2
tapply & hist
I'm learning how to use tapply.
Now I'm having a go at the following code in which dati contains almost 600
lines, Pot - numeric - are the capacities of power plants and SGruppo - text
- the corresponding six technologies ("CCC", "CIC","TGC", "CSC","CPC", "TE").
.....................................................
2005 Sep 23
2
Strange behaviour of as.Date function
Dear All,
I'm happily extracting data of temperature from an oracle db
under R via RODBC. After manipulating the extracted data I put them
into a data.frame 'dati' which is as follows:
> dati
DATA tm.
UDINE/RIVOLTO tm.TORINO/CASELLE
1 2005-07-01
22.35 23.80
2 2005-07-02 22.70
22.85
3 2005-07-03 23.80
2017 Feb 15
3
Samba AD domain member with SSSD: ACL not work
Have you seen :
( centos/redhat )
https://outsideit.net/realmd-sssd-ad-authentication/
( debian/ubuntu )
http://www.alandmoore.com/blog/2015/05/06/joining-debian-8-to-active-directory/
but i must say, i havent tested/tried these, i dont use sssd.
But i think these are usefull for you to read at least.
If you use the debian variant, you may need to install also :
One or more of these :
2017 Jul 26
2
glusterd-locks.c:572:glusterd_mgmt_v3_lock
Technically if only one node is pumping all these status commands, you
shouldn't get into this situation. Can you please help me with the latest
cmd_history & glusterd log files from all the nodes?
On Wed, Jul 26, 2017 at 1:41 PM, Paolo Margara <paolo.margara at polito.it>
wrote:
> Hi Atin,
>
> I've initially disabled gluster status check on all nodes except on one on
2006 Nov 03
1
difference in using with() and the "data" argument in glm call
Dear all,
I am dealing with the following (apparently simple problem):
For some reasons I am interested in passing variables from a dataframe
to a specific environment, and in fitting a standard glm:
dati<-data.frame(y=rnorm(10),x1=runif(10),x2=runif(10))
KK<-new.env()
for(i in 1:ncol(dati)) assign(names(dati[i]),dati[[i]],envir=KK)
#Now the following two lines work correctly:
2004 Nov 02
3
time dependency of Cox regression
Hi,
How can I specify a Cox proportional hazards model
with a covariate which i believe its strength on
survival changes/diminishes with time? The value of
the covariate was only recorded once at the beginning
of the study for each individual (e.g. at the
diagnosis of the disease), so I do not have the time
course data of the covariate for any given individual.
For example, I want to state at the
2006 Nov 03
1
[R] difference in using with() and the "data" argument in glm (PR#9338)
I've redirected this reply from r-help to the bugs list.
On 11/3/2006 8:25 AM, vito muggeo wrote:
> Dear all,
> I am dealing with the following (apparently simple problem):
> For some reasons I am interested in passing variables from a dataframe
> to a specific environment, and in fitting a standard glm:
>
> dati<-data.frame(y=rnorm(10),x1=runif(10),x2=runif(10))
>
2009 Feb 10
2
plotting the result of a nonlinear regression
Hello,
to plot the result of a singular non linear regression (using nls) I usually use the function plotfit, for example:
r.PTG.V<-nls(PTG.P~ fz1(Portata, a,b), data=dati, start=list(a=10, b=10), nls.control(maxiter=200), algorithm='port',
trace=TRUE, na.action=na.omit, lower=list(a=0, b=10), upper=list(a=100, b=100))
plotfit(r.PTG.V)
I tried to use the function plotfit on the
2004 Nov 10
1
Loading some function at R startup
Dear R-users,
I've built these functions usefell for me to
import/export data from/to Excel:
importa.da.excel<-function(){read.delim2("clipboard",
dec=",")
## questa funzione consente di importare dati da Excel
in R
## selezionare in Excel le celle che contengono i
dati,
## compresi in nomi delle colonne
## Autore: Vito Ricci email:vito_ricci at yahoo.com
## Data di
2011 Aug 21
3
Sweave doesn't work
Hi R users.
I've got a problem in producing the pdf file from Latex with R code. When I
run the code Sweave("example.Rtex") in R it seems working, but when I run
the Latex file it doesn't. The code error shown to me is below:
*Runaway argument?
{echo=FALSE}
data<- read.csv("C:\\Users\\Daniele\\Desktop\\dati\\dati_england
! File ended while scanning use of \FV at