命令一个函数时,一般不写在交互式命令行里,而是写在一个空白的文本文件中,即把函数放在一个R包中,这里面包含着文档(documentation),是一个更加结构化的环境。 我们使用的软件是RStudio,左上角新建一个新的R脚本来写代码。 Example 1 举个例子,简单了解一下如何使用函数的语法、如何指定参数以及如何返回结果: 命...
R语言 in 的用法r语言int 1、 vector格式 vector是一维的数据集合,其数据必须为同一类型,例如都是int型,都是character型。一个原本全是数字组成的vector中一个元素替换为字母时,其余元素也会变为character型。> a <- 1:6 > str(a) int[1:6] 1 2 3 4 5 6 > a[1] <- 'a' > str(a) chr[1...
A basic call to the main functinoFrF2specifies the number of runs in the fractional factorial design (which needs to be a multiple of 2) and the number of factors. For example a three factor design would have a total of eight runs if it was a full factorial but if we wanted to go ...
The results are discussed in terms of their implications for theoretical models of psychopathy, decision-making, prison classification and intervention, and prevention. Resumen Se diseñó un estudio con el objetivo de conocer cuál de las soluciones factoriales propuestas para la Hare Psychopathy ...
Introducción al estudio de la epidemiología de las leucemias agudas en España. Análisis de los datos existentes y estudio nacional de morbilidad y mortalidad Sangre, 26 (1981), pp. 670-699 View in ScopusGoogle Scholar 32. M. Alderson The epidemiology of leukaemia Advances in Cancer Re...
adequate internal consistency (α≧ 0.65), and strong correlations with the original version of WEIMS (r= 0.73) in both samples. SWEIMS confirmatory factor analysis replicated the six-factor model of the original SWEIMS. SWEIMS can be a reliable, valid, and user-friendly alternative to WEIMS...