Sistema de blogs Diarium
Universidad de Salamanca
Statistics and R software
Blog by JMSS
 
Archivo | febrero, 2020

R pill: “Enter a vector or matrix in the R console using the keyboard”

When we have few numerical data, either in a small vector or in a matrix of small dimensions, we can create a “vector” or “matrix” object in the R working environment using the “scan ()” function and entering the data with the keyboard on the R console. Examples: * foo1() is a function that asks […]

Leer contenido completo Comentarios { 0 }

R pill: “Install packages from Bioconductor”

Bioconductor provides tools for the analysis and comprehension of high-throughput genomic data. Bioconductor uses the R statistical programming language, and is open source and open development. Visit https://www.bioconductor.org/ for more information. Example: Install “affy” and “AnnotationDbi” packages to manage tools for Affymetrix microarrays. The conditional “if” is used to check if we already have a package installed. # […]

Leer contenido completo Comentarios { 0 }
Política de privacidad
Studii Salmantini. Campus de excelencia internacional