Displaying 20 results from an estimated 300 matches similar to: "generate matrices"
2011 Jun 03
3
Not missing at random
Hello!
I would like to sample 30 % of cases (with at least 1 value lower than 3) and
among them I want to set all values lower than 3 (within selected cases) as NA
(NMAR- Not missing at random). I managed to sample cases, but I don’t know how
to set values (lower than 3) as NA.
R code:
x <-
2012 Feb 29
2
Principal Component Analysis
Dear R buddies,
I’m trying to run Principal Component Analysis, package
princomp: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/princomp.html.
My question is: why do I get different results with pca =
princomp (x, cor = TRUE) and pca = princomp (x, cor = FALSE) even when I
standardize variables in my matrix?
Best regards,
Blaž Simčič
[[alternative HTML version deleted]]
2019 Jul 03
2
`samba-tool dbcheck --cross-ncs --fix` fails: governsID already exists as an attributeId or governsId
On 03.07.19 17:19, Rowland penny via samba wrote:
>> All these object classes were tests we did? years ago, and which have
>> been "deleted" (I don't even remember by what mechanism) for almost as
>> long. No object should still be using any of these, and on graz-dc-sem
>> that's true.
> I would love to know how you deleted something from the schema, it
2005 Mar 13
2
Samba3 in W2k AD, W98 clients need password for Samba share
Hello everybody,
I've setup a file server with Debian GNU/Linux (Sarge) and Samba v3.0.10
with ACL, Kerberos etc... so I can join the Windows 2000 domain. I can
use users from domain on file server without problems and Windows 2000,
XP clients can access Samba shares.
But when I try to connect to \\fs from Windows 98 client (in domain) it
requests password from me (\\fs\IPC$). I have
2019 Jul 04
2
`samba-tool dbcheck --cross-ncs --fix` fails: governsID already exists as an attributeId or governsId
On 03.07.19 18:04, Rowland penny via samba wrote:
>>>> How do I get rid of these bogus Schema entries, and how do I fix the
>>>> user account?
>>> I do not think you can remove anything from the schema, but I believe
>>> you can deactivate schema objects, try reading this:
>>>
>>>
2006 May 10
3
NoMethodError
When I want to see my users, then I get:
-----------------------------------------------------
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
Extracted source (around line #3):
1: <% @page_title = "Spisek uporabnikov" -%>
2: <table>
3: <% for user in @all_users %>
4:
2019 Jul 03
2
`samba-tool dbcheck --cross-ncs --fix` fails: governsID already exists as an attributeId or governsId
It's amazing how long Samba just keeps running even when apparently
everything's broken.
In preparation of finally upgrading our DCs to 41.0, I ran dbcheck on
all of them, resulting in:
graz-dc-sem:
> Checking 3861 objects
> Error: governsID CN=ucsUser,CN=Schema,CN=Configuration,DC=ad,DC=tao,DC=at on 1.3.6.1.4.1.19414.3.2.2 already exists as an attributeId or governsId
> Error:
2020 Nov 13
3
Centos 8 and logwatch
Hello
I am trying to get logwatch working on CentOS 8. System is fully updated.
Usually install minimal version and then add only necessary with yum.
On CentOS 7: install logwatch and get daily logwatch report on mail.
On CentOS 8: install logwatch but no way to get mail.
Am I doing something wrong? Or miss something?
Thanks in advance
Blaz
2005 Sep 13
2
4.1 x86_64 and stability
Dear All,
I have previous posted on here before about some of the problems I have been
have with various services in 4.1 particularly, PCMCIA, XFS, and Netowrk. I
have a nf4x mobo with an amd semprom 3000+. The video card is an Asus
radeon x500 (uses the x300 drivers). I have also tried fedora core 4 as
well which the same repeatable results. Basically the problem is the
services freeze when
2011 Jun 01
1
Missing completely at random
Hello!
I would like to sample 5 % of cases and from 1 to 3 variables within selected
cases and set them as NA (MCAR-Missing completely at random). I managed to
sample cases and variables, but I don’t know how to set them as NA.
R code:
N <- 1000 ####number of cases
n <- 12 ####number of variables
X <- matrix(rnorm(N * n), N, n) ####matrix
pMiss <- 0.05
2011 Jun 01
1
as.character limits length of result for formula
If you want a character representation of a long formula (or
a formula with long names), you can use:
as.character(my.formula)
However restriction on length of an as.character result
returns only the beginning of a long formula, and without comment.
In most cases, the following expression provides the complete
result:
paste(my.formula[[2]], " ~ ",
2006 Apr 11
2
File Permissions
Hello
I trying to grasp the file permissions on Linux. I have Samba installed
and functioning properly...
I think I understand perimission in this environment with one exception:
I need to add more than one group to a file/folder. With Windows..the
security tab would allow any number of Groups and each group could have
different permissions. (As well with files and subdirectories). With
2012 Jun 12
2
Compare two matrices in r
Dear all,
I want to compare two matrices . the code must return True only when all
the elements of the two matices match.
How can this be done in R ?
Regards
[[alternative HTML version deleted]]
2010 Jan 30
2
Questions on Mahalanobis Distance
Hello,
I am a new R user and trying to learn how to implement the mahalanobis
function to measure the distance between to 2 population centroids. I
have used STATISTICA to calculate these differences, but was hoping to learn
to do the analysis in R. I have implemented the code as below, but my
results are very different from that of STATISTICA, and I believe I may not
have interpreted the help
2018 Dec 07
2
Matriz de Datos
Hola Comunidad,
Queria consultarles algo,
Tengo una data con la siguiente estructura
Descripcion Grupo Monto
a 1 1.826
a 2 3.497
a 1 4.749
b 1 3.999
b 1 1.638
b 3 4.445
c 2 4.935
c 1 2.299
c 3 1.111
Y quiero crear una matriz que a la fila tenga la descripcion y en la columna el
2004 Jun 03
1
Problem with par("usr")
Hi,
I'm trying to use the "usr" argument but I see no effect of this option
on my plots. For example:
> par(usr=c(0,4,0,4))
> plot(1,1)
This plots one point fine, but the coordinates of the plotting region
are not those that I specified using par()...
I can check this with
> par("usr")
[1] 0.568 1.432 0.568 1.432
What can I change in order to have this
2009 Jun 24
1
parallel rotated strips with color gradient
Hi,
I want to produce two parallel rotated strips with color gradient. So
far, the sample strip is something produced by this:
pushViewport(viewport(x = unit(0.638, "npc"), y =unit(0.386, "npc"),
width=.62, height=0.006, angle=137.2))
grid.rect(y=100:1/100, just="top",
gp=gpar(col=NA,
fill=colorRampPalette(c("lightgray",
2011 Jan 14
2
read in data, maintain decimal places
Good day, All,
Is there any way to maintain the number of decimal places in the type of situation below?
I would like to maintain the number of decimal places in 0.667, despite the fact that its column-mates have a fourth decimal place.
Thank you for your time.
Jim
dat.txt contents:
MARKER ALLELES FREQ1 RSQR EFFECT2 STDERR CHISQ PVALUE
rs6599753 C,T
2019 Jul 03
0
`samba-tool dbcheck --cross-ncs --fix` fails: governsID already exists as an attributeId or governsId
On 03/07/2019 16:26, Sven Schwedas via samba wrote:
> On 03.07.19 17:19, Rowland penny via samba wrote:
>>> All these object classes were tests we did? years ago, and which have
>>> been "deleted" (I don't even remember by what mechanism) for almost as
>>> long. No object should still be using any of these, and on graz-dc-sem
>>> that's
2014 Oct 16
2
Heatmap de paro (o de otra cosa) en España
Hola Pedro.
El INE cambió los ficheros de microdatos no hace mucho, aquí dejo como
se haría ahora, (utilizando MicroDatosEs). Lo que cambia es la función
para recodificar.
http://rpubs.com/joscani/unemplrate
El 15/10/14 a las #4, Carlos Ortega escribió:
> Hola Pedro,
>
> Acabo de recordar que hace poco José Luis Cañadas (participa en esta lista)
> publicó un enlace suyo a un