blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3688f90e6a6ff0008fec30ffe5a75cd27fc11849 | a0d43f26abeafbd8c159b9afbfca2e7582636092 | /Udemy/ajuda.R | f40591e2740ce45b918012824df4e50aa4bce5b9 | [
"MIT"
] | permissive | tarsoqueiroz/Rlang | f22038a0ada392d641cafecee1a0a91ba8574110 | b2d4fdd967ec376fbf9ddb4a7250c11d3abab52e | refs/heads/master | 2021-06-02T11:47:56.188320 | 2021-04-09T20:37:38 | 2021-04-09T20:37:38 | 132,541,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 291 | r | ajuda.R | #ajuda dentro do R
help.start() #ajuda geral do R
help("*")
help(mean)
help.search("mean")
?sd #mesmo que help
??sd #mesmo que help.search
apropos("help") #funções contendo "help"
apropos("mean")
#exemplos de uso
example(mean)# exemplo de uso
example(plot)
|
f134373d6e58cff6f035367fb47c18fba741aa38 | 8af238c144d20c1060fd670e091364fffc910df3 | /draw_every_species.R | 6412b3dfec23ba6b26d1501a0a7652d538cc6bb0 | [] | no_license | AfredComma/bioinfor_sth | 0c03da446a4f44cbe8be79b06e281f7bcb9b917f | 0be0eee4d676636acc8791a1b6cdb8d719a4f749 | refs/heads/master | 2021-04-09T15:03:54.292192 | 2019-10-28T06:03:45 | 2019-10-28T06:03:45 | 125,479,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 930 | r | draw_every_species.R | setwd("D:/BaiduNetdiskDownload/")
df <- read.csv("Species_merge_abundance.tsv",sep = '\t',row.names = 1,check.names = FALSE)
df2<-as.data.frame(t(df))
dfmap<-read.csv("merge_stages_map.tsv",sep = '\t')
dfmap$time<-sapply(dfmap$Types,FUN = function(x) strsplit(as.vector(x),'_')[[1]][1])
dfmap$cl<-sapply(dfmap$Types,FUN... |
f21fbad59010296225ec3bf71fc8290678d96501 | 56a98c60765e9c2df99061666760285d1a492c29 | /srs-cran/src/run/trainmodels/RunRandomForestSignals.R | 9f4f6e798b9d9e46422b2925eb4a0bfdc832ce90 | [] | no_license | ajinkya-github/stocksimulation | 52263a7ab03031b9f426751e05871f70cdb0b871 | 1ffc092495534c58e42f3338e05fb31f58a611f2 | refs/heads/master | 2021-05-05T15:41:25.320326 | 2018-01-14T10:01:20 | 2018-01-14T10:01:20 | 117,318,030 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,221 | r | RunRandomForestSignals.R | # TODO: Add comment
#
# Author: ajinkya
###############################################################################
library(randomForest)
library(quantmod)
library(TTR)
library(tseries)
closeAllConnections()
memory.limit(size=2566)
rm(list = ls())
now1 <- Sys.time()
tickerSymbol <- "IBM"
source("/Users/aj... |
1aeab333fcb591bbd9328d4c8392970dff623e12 | 0c0cba7db4fb25c26dbd5b61a0857772e3984cf3 | /gengraphs.R | 4b8cea346ea70cdca3de64f453176531327fb1dc | [
"CC-BY-4.0"
] | permissive | b4winckler/lorenz-empty | b92fec4d6cac399daf7217ebeac6c6386b2eb72f | c77a4621aef59077c5d0680f73f6bc84bc4a16ef | refs/heads/master | 2021-01-22T23:26:42.393137 | 2014-06-01T17:47:43 | 2014-06-01T17:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,599 | r | gengraphs.R | library(ggplot2)
# Path to read input from and write output to
path = function(fname) file.path('data', fname)
df = read.table(path('empty.txt'), header=TRUE)
hyp = function(a,b,c,d) log((c-a)*(d-b)/(b-a)/(d-c))
pdf.a4r = function(file, ...)
pdf(file, paper='a4r', width=16.54, height=11.69, ...)
pdf.a4r(path(... |
6c61da620f33c0690e31aa1031b34a36afd51f3e | d187ba2ef23e622dd8ed63902e42233e5ebb352f | /after_CP.r | 59a3ab8628c0b61ca9d99ca057e4cc3182409486 | [
"MIT"
] | permissive | ErasmusMC-Bioinformatics/KREAP | 5ef2fe6813b0240029a42e7c7bebcb76754e2c57 | c29c895af164359bd67fd5ad8bd4a8c6b3d7a7db | refs/heads/master | 2021-03-27T16:30:29.956812 | 2018-05-26T07:43:59 | 2018-05-26T07:43:59 | 93,743,830 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,689 | r | after_CP.r | library(ggplot2)
library(reshape2)
args <- commandArgs(trailingOnly = TRUE)
inputfile = "D:/wd/wur/WellG07.cpout"
inputfile = args[1]
plot_file_names = unlist(strsplit(args[2], ","))
outputdir = args[3]
setwd(outputdir)
inputdata = read.table(inputfile, sep="\t", header=TRUE, fill=T, comment.char="")
cpout = input... |
a022900fb34fe5ed7f1aef23230fdeebdf78bf47 | 29d34e3302b71d41d77af715727e963aea119392 | /man/d.ICA.Rd | 7ac15f3fa7ba5917ad51592aa4611613ff98d096 | [] | no_license | bakaibaiazbekov/rtemis | 1f5721990d31ec5000b38354cb7768bd625e185f | a0c47e5f7fed297af5ad20ae821274b328696e5e | refs/heads/master | 2020-05-14T20:21:40.137680 | 2019-04-17T15:42:33 | 2019-04-17T15:42:33 | 181,943,092 | 1 | 0 | null | 2019-04-17T18:00:09 | 2019-04-17T18:00:09 | null | UTF-8 | R | false | true | 1,978 | rd | d.ICA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/d.ICA.R
\name{d.ICA}
\alias{d.ICA}
\title{Independent Component Analysis}
\usage{
d.ICA(x, k = 3, package = c("fastICA", "ica"), alg.type = "parallel",
maxit = 100, scale = TRUE, center = TRUE, verbose = TRUE,
trace = 0, ...)
}
\arguments... |
8c7b35019244d828b988c37aeeda8604e450deae | 5b5a18142a86e49a7deb2c349b484dadc335920a | /man/img_typicality.Rd | 7de2f93f82cf035730b929c288ac5be53cdb3c12 | [] | no_license | stm/imagefluency | 9067b79f3ad3d6c3e5c683761f89ef2e202cf0ee | d9e6d1e9bea92a20bd464ca3d1b71942cb7cc79e | refs/heads/master | 2023-04-18T05:55:46.240210 | 2022-09-29T17:33:07 | 2022-09-29T17:33:07 | 78,774,174 | 4 | 1 | null | 2021-11-03T15:00:19 | 2017-01-12T18:23:32 | R | UTF-8 | R | false | true | 2,860 | rd | img_typicality.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/typicality.R
\name{img_typicality}
\alias{img_typicality}
\title{Typicality of images relative to each other}
\usage{
img_typicality(imglist, rescale = NULL)
}
\arguments{
\item{imglist}{A \emph{list} of arrays or matrices with numeric values... |
681b8b68eb333a3f7faf04b5fc57069f9f061a21 | 2e7ff4c210137d0756af58b08ded8f064d99e9ad | /01_create-data.R | 7f27fab8bd09105f444a31db0f1e2d121442c4e8 | [] | no_license | erikgahner/epsr-bailout | 92fbf385b113404a7d6cd11e4d2151048b088880 | f0829edc371f97a2a6fbeb36e74b1e9cf2b6dafd | refs/heads/master | 2020-04-30T04:32:04.952923 | 2019-07-18T21:59:09 | 2019-07-18T21:59:09 | 176,612,934 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,815 | r | 01_create-data.R | ###
##
## Article: Bailout or bust? Government evaluations in the wake of a bailout
##
## European Political Science Review
##
## Erik Gahner Larsen Robert Klemmensen Michael Baggesen Klitgaard
## E.G.Larsen@kent.ac.uk rkl@sam.sdu.dk mbk@sam.sdu.dk
##
##... |
9d66413d2d04cd40340aab180e06d024d6aeaee5 | 7f4bbb0dd5be6a704b618cf0fbf0c80fff699235 | /man/vieillissement_ppe.Rd | fbe0992e1f33142a0ddf34d4ac08c779f2628ea4 | [] | no_license | DTichit/ALModel | 67c7b041a84dd9fdaec3c084d3cbd1f322b5a827 | 820faab78ff29d404b522b737170393930132c77 | refs/heads/master | 2023-03-08T09:40:48.628155 | 2021-02-10T18:24:52 | 2021-02-10T18:24:52 | 337,813,431 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 444 | rd | vieillissement_ppe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PPE-vieilissement.R
\docType{methods}
\name{vieillissement_ppe}
\alias{vieillissement_ppe}
\title{Fonction \code{vieillissement_ppe}.}
\usage{
vieillissement_ppe(ppe)
}
\arguments{
\item{ppe}{est un objet de type \code{\link{PPE}}.}
}
\descri... |
69fc80c914dbc8f295268ff94b6af3afa18f8a8b | 5517dab1f9d77cda25ce5fd1fa4e2b86baa6373b | /code/ch07/nb03_deviance.R | a543f709dc10ab562eb7ca471cfef228ddb5c0dd | [] | no_license | somnath1077/statistical_rethinking | e1df98ba631fd7ee64b8c3ec6912c826bb95a3ff | 22fd65b629928fdf138dcaa938d6d283750f7e65 | refs/heads/master | 2023-06-05T19:50:47.842485 | 2021-06-30T09:32:09 | 2021-06-30T09:32:09 | 164,726,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,055 | r | nb03_deviance.R | library(rethinking)
# Create the data
sppnames <- c("afarensis",
"africanus",
"habilis",
"boisei",
"rudolfensis",
"ergaster",
"sapiens")
brainvolcc <- c(438 , 452 , 612, 521, 752, 871, 1350)
masskg <- c(37.0 , 35.5 , 34.5 , 41.5 , 55.5... |
540179dd860cf2fdd5bdb451e3bb1cccec70b32b | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.iot/man/describe_thing_group.Rd | 5c377a974200913b1faec0552cdc8e81b86b4a09 | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 454 | rd | describe_thing_group.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.iot_operations.R
\name{describe_thing_group}
\alias{describe_thing_group}
\title{Describe a thing group}
\usage{
describe_thing_group(thingGroupName)
}
\arguments{
\item{thingGroupName}{[required] The name of the thing group.}
}
\descrip... |
ace59701183b458f1911a114299b7e5bb63bad2a | 15955f0f66730020cbacffabd4982ceeec24fd93 | /charge_sero_variance.R | 02694a6c100bcf6a3904c1df15073161cf26f354 | [
"BSD-3-Clause"
] | permissive | johnlees/meningene | 21fd005cf2484bf9e0213150bd53c616d1d77eea | e8d73c39eb54ad97271d9edf814c0e61737757ef | refs/heads/master | 2021-03-22T02:12:59.837985 | 2019-02-15T21:49:28 | 2019-02-15T21:49:28 | 110,558,650 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,001 | r | charge_sero_variance.R | require(fmsb)
require(glmnet)
setwd("~/Documents/PhD/dutch_carriage/charge/")
sero_charge <- read.delim("~/Documents/PhD/dutch_carriage/charge/sero_charge.covar", header=FALSE, stringsAsFactors=FALSE)
lane_serotypes <- read.delim("~/Documents/PhD/dutch_carriage/charge/lane_serotypes.txt", header=FALSE, stringsAsFacto... |
bab2089010d90c186f95fd2d562e32fda5a5ee52 | d86217683cbc6a08aeb60971193c46efe4b89b00 | /cachematrix.R | 8f3c20d1fa62e40bc096db5e764d0bc2c499bf25 | [] | no_license | bezoarboy/ProgrammingAssignment2 | 39b5d76a628cc4f76d936b3c3466b6e219cbec4a | f7a1c7cc5e6320e9b635e256e583e72e39b7383f | refs/heads/master | 2020-12-11T05:52:28.858552 | 2014-05-26T01:13:00 | 2014-05-26T01:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,524 | r | cachematrix.R | ##################################################
##
## makeCacheMatrix() and cacheSolve()
## - pair of functions that cache the inverse of a matrix
## - v1.0, 2014-05-17
##
## <<- operator assigns a value to an object in an environment different from the current environment
## - can be thought of as a global variabl... |
450fcc7268b025739342e65f58d84114f29cafbb | 80d328e2bbfbf3aea2b55a02ca962a6cc6fb26c8 | /war and life expectancy/war_and_life_expectancy_graph.R | c819df12bc7463d0dbbdce390faab451ca2aa1f1 | [] | no_license | AjeetParmar1/gapminder-parsing | c11ce09138aaaeb0ee77e69aca0dc78fc65a26d1 | 35236414f05022911a7459027cdb23e9f7aa0563 | refs/heads/master | 2022-11-17T14:42:24.082984 | 2020-07-14T17:50:18 | 2020-07-14T17:50:18 | 277,646,868 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 348 | r | war_and_life_expectancy_graph.R | library(dslabs)
library(tidyverse)
library(gtools)
data("gapminder")
gapminder %>% filter(country %in% c("China", "Vietnam", "United States",)) %>%
ggplot(aes(x = year, y = life_expectancy, color = country)) + geom_line() +
ggtitle("Life Expectancy of China, Vietnam, and the US from 1960-2010") +
xlab("year"... |
8c35637a7be5035320c202c2c165f51a47b2d34e | c78014e5b3a00181ceefd491eb566cd04e7c4c4a | /R/convert_doc_to_tex.R | 8118bc1bd68fdd594b93b398a75e219d517390d7 | [] | no_license | wfmackey/word2grattex | 923a377c8978ee4421f1bffd67bbb8e8b5dbf5a8 | b4b10cccb9a03d86a66ad60bff88928140eb0fc6 | refs/heads/master | 2021-06-16T19:32:50.213314 | 2021-02-19T01:37:46 | 2021-02-19T01:37:46 | 162,081,270 | 2 | 0 | null | 2019-03-29T02:27:44 | 2018-12-17T05:53:14 | R | UTF-8 | R | false | false | 1,034 | r | convert_doc_to_tex.R | #' Use pandoc to convert a Word document to a .tex file.
#'
#' @param file.docx The path to the .docx file to be converted.
#' @param tex_file The desired path of the exported .tex file
#'
#' @importFrom readr read_lines
#'
#' @export
#'
convert_doc_to_tex <- function(file.docx,
tex_fil... |
8eab4d22d28b3b1ad028d590a20f005b8ae1506b | 6bdded425c43483585ee21a7704db5e34f5717e5 | /man/plot.mfso.Rd | d4fb1eed48ab045c81a6d2c173d3496df5f91ffb | [] | no_license | cran/fso | d709b5922bf67bdf41cfb21d94f1182ff876f5bd | cabc7e93c4ce645ff77b976b337a48610ec089ac | refs/heads/master | 2022-10-03T09:59:10.244422 | 2022-09-26T14:30:02 | 2022-09-26T14:30:02 | 17,696,154 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,148 | rd | plot.mfso.Rd | \name{plot.mfso}
\alias{plot.mfso}
\alias{points.mfso}
\alias{plotid.mfso}
\alias{hilight.mfso}
\alias{chullord.mfso}
\alias{boxplot.mfso}
\alias{thull.mfso}
\title{Plotting Routines for Multidimensional Fuzzy Set Ordinations}
\description{A set of routines for plotting, identifying, or
highlighting points in a multi... |
b66cda36bddd79b347e8612df75ae1ff6e914693 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/FastHCS/examples/Tablets.Rd.R | f66c1a7812d2af9b1751178b346275a87de51a06 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 463 | r | Tablets.Rd.R | library(FastHCS)
### Name: Tablets
### Title: Near-infrared (NIR) spectroscopy of a sample of 310 tablets.
### Aliases: Tablets
### Keywords: datasets
### ** Examples
data(Tablets)
alpha<-0.5
Q<-15
p<-ncol(Tablets[,-1])
ns<-FHCSnumStarts(q=Q,eps=(1-alpha)*4/5)
RunExample<-FALSE
if(RunExample){
Fit<-FastHCS(x=Table... |
2d98350e345bea04a2ad73befdf064d3dfa04ac4 | 88147e2bddc2add4f51b507dbf1eed86de849495 | /vinetests/discretebvnvine-test.r | 31899f4b2eecc76e7ddd456a94a1ec01694d8d0f | [] | no_license | hoanguc3m/CopulaModel | 39906379ed88d56f579851d45f157733c42bf926 | 1522b9a6476c5550736f652f902c61b3ac5e8fd3 | refs/heads/master | 2020-03-27T14:29:49.345584 | 2019-11-03T22:18:14 | 2019-11-03T22:18:14 | 146,665,628 | 2 | 0 | null | 2018-08-29T22:25:56 | 2018-08-29T22:25:56 | null | UTF-8 | R | false | false | 2,709 | r | discretebvnvine-test.r | # checks for discrete vine with bivariate Gaussian pair-copulas
library(CopulaModel)
d=4
A=Dvinearray(d)
out=varray2M(A); M=out$mxarray
ucuts4=matrix(c(.4,.5,.4,.3, .7,.8,.6,.6),2,4,byrow=T)
ucuts=rbind(rep(0.00001,d),ucuts4,rep(.99999,d))
parvec=c(.5,.5,.5,.1,.1,0)
pr=rep(1/81,81)
out=f90rvineKL(parvec, ucuts, A, M, ... |
2158ee8807a11f860efda066acfe95d91f070a31 | 4cbaba16e08a77312782eaa95d587e055e9fdb75 | /R/dexcarbon_play.R | 0aa9f7e6965cf42f2cbab3ce01c5e5026d4c778b | [] | no_license | schattle/forestcarbonmodel | a51b5615037b9636e219c797a410e0a5c71571d1 | 547c9d0cbbd7865d95e072705a6b784392c23a40 | refs/heads/master | 2023-04-21T23:33:04.839935 | 2021-05-10T18:13:14 | 2021-05-10T18:13:14 | 364,629,478 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 702 | r | dexcarbon_play.R | #' Forest Carbon Growth
#' @param T period of growth
#' @param C initial carbon
#' @param parms$cc - canopy closure threshold
#' @param parms$r - base forest growth rate
#' @parms parms$K - carrying capacity
#' @parms parms$g - linear growth rate
#' @return change in carbon
dexcarbon_play = function(time, C, parms)... |
4ffe5ed66e4f5840e83ec8675c95469667216558 | c247d6e7a9c838396bd1071d7ff95262e30679cf | /Scripts/11_postprocess.R | f8402642a26a228401657bc9a2e762bd0f88f4ee | [] | no_license | ysLeePhD/LC_multimodality | b9565fe0a09cd63913dd44cbed22aa2ffe9be464 | 92a7389579a5a590783c6e7b0e67b67968cded76 | refs/heads/master | 2020-04-08T13:09:23.847182 | 2019-01-25T20:13:00 | 2019-01-25T20:13:00 | 159,377,675 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,078 | r | 11_postprocess.R |
install.packages("tidyverse", dependencies = TRUE)
install.packages("RColorBrew", dependencies = TRUE)
install.packages("tableone", dependencies = TRUE)
#install.packages("Matrix", dependencies = TRUE)
install.packages("survival", dependencies = TRUE)
install.packages("survey", dependencies = TRUE)
library(tidyver... |
f1c5ef68b08f56536a99b8225a06a5e3e3631c02 | b4164d8023348a7491b73d21261e28c61c2a7353 | /man/fars_map_state.Rd | d8abe03216043cd70266c3b9d4f918baccc45fc7 | [] | no_license | pez-espada/fars2 | 5a5cef3f3af2b7aec49abead39e7a6ce404dd2f5 | 1dd121cf29f4a82a52e59d78f223398c7b1efe1f | refs/heads/master | 2021-04-28T16:42:59.086143 | 2018-02-22T20:16:34 | 2018-02-22T20:16:34 | 122,020,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 616 | rd | fars_map_state.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars2.R
\name{fars_map_state}
\alias{fars_map_state}
\title{Function `fars_map_state`: Plot a map with geolocated observations (cars accidents)}
\usage{
fars_map_state(state_num, year)
}
\description{
This functions takes a valid state_number... |
bdac3a48ee83bcc23d1451b38980aefce8495aac | 9126d2396ce4536cfd934d9c2b09bb8511fa64a9 | /man/getweight.Rd | 21fbe9ab738e4d8ba2887e4e1aded1ed0f86a265 | [] | no_license | cran/RobAStBase | 97d818333ca03d01c1eb1fa904ffddf8b8db88cb | 63a5c3d20b6440e23f3c9787c0955bb7bf571854 | refs/heads/master | 2022-11-24T09:42:41.138259 | 2022-11-16T02:50:25 | 2022-11-16T02:50:25 | 17,693,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,578 | rd | getweight.Rd | \name{getweight-methods}
\docType{methods}
\alias{getweight-methods}
\alias{getweight}
\alias{getweight,HampelWeight,ContNeighborhood,BiasType-method}
\alias{getweight,HampelWeight,ContNeighborhood,onesidedBias-method}
\alias{getweight,HampelWeight,ContNeighborhood,asymmetricBias-method}
\alias{getweight,BdStWei... |
0433018882fe64b3974b2c95bbdd6d40229e2c96 | 16f145ea44c14f50f4ebb27b549602c588301ea2 | /si_figure_move_history.R | 46630ef1c87d322096bf2160cf747c28fe47a91c | [] | no_license | aterui/public-proj_sc-disp | c69303e2f625946f953e6e9ad8c17dc402c56778 | bbc480e28c982bf459a5c8801071f5457f841c56 | refs/heads/master | 2023-04-10T11:02:51.068102 | 2021-07-05T17:45:17 | 2021-07-05T17:45:17 | 172,434,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,142 | r | si_figure_move_history.R |
# setup -------------------------------------------------------------------
rm(list = ls(all.names = TRUE))
pacman::p_load(tidyverse)
dat <- read_csv('data_fmt/vector_data.csv') %>%
mutate(Species = case_when(species == "BHC" ~ "Bluehead chub",
species == "CRC" ~ "Creek chu... |
728a032a5d13a8dbfbc9cd364ffecd349f368171 | 18cd17e606c17ecdf02ba45ebf7d1bbaddaa40b5 | /GWAS/gwas.preproc.R | c06a591e3e38006d1b94420df56f0596c092eac6 | [] | no_license | derekbeaton/Misc | 1c6e8547827a18b67badee8008fa93c56771b026 | eb7e2a29be38385891ae618f42da9abe24bce951 | refs/heads/master | 2022-04-13T08:36:14.350676 | 2020-04-04T15:01:45 | 2020-04-04T15:01:45 | 110,385,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,544 | r | gwas.preproc.R |
gwas.preproc <- function(data.in,geno=0.1,mind=0.1,maf=0.05){
##zero-th: find any columns that are only 1 genotype.
na.ret.thing <- apply(data.in,2,function(x){unique(x[!is.na(x)])})
if(is.list(na.ret.thing)){
single.genos <- which( unlist( lapply(na.ret.thing,length) )<2 )
if(length(single.genos)>=1)... |
4289dcfc3659dd6d70146c620499a052c3a91aa0 | b9dec7b90284521e5ba4839397d0eddb0c3b5ea9 | /fitChosenDists.R | d90ba9e89a60b537ee4f904fbbd1b4a275efd056 | [] | no_license | texmiller/IPM_size_transitions | 524b373b32699c260ed539b1ea60b55d98b5d665 | d4e6cfa09f543d694d4885506fcdb6172879f8c4 | refs/heads/master | 2023-08-23T17:02:01.933300 | 2023-08-21T03:48:44 | 2023-08-21T03:48:44 | 221,753,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,365 | r | fitChosenDists.R | ###########################################################################################
# Fit a gamlss distribution family to a set of values by maximum likelihood using MaxLik.
# y is the set of values
# DIST is the name of the distribution family (e.g., DIST = "JSU")
#
# The function can accommodate 2-, 3-... |
80572315401ed7242359c624751ec388171f6d54 | f5faeeb7362ac4a97a4a4d61d8320ff9079e2dd0 | /models/sipnet/man/write.restart.SIPNET.Rd | e20e47f69faee5d708f5d87e5086978e41cc2649 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Viskari/pecan | 0b1793d2994afac9f312369880862a2d3a408dc3 | 7489a97ef4d3deaf5b62a10a86a5ae14f859aaa8 | refs/heads/master | 2021-01-17T21:16:08.800080 | 2016-10-03T20:23:28 | 2016-10-03T20:23:28 | 28,244,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 697 | rd | write.restart.SIPNET.Rd | \name{write.restart.SIPNET}
\alias{write.restart.SIPNET}
\title{write.restart.SIPNET}
\usage{
write.restart.SIPNET(out.dir, runid, time, settings, analysis.vec,
RENAME = TRUE, variables, sample_parameters = FALSE, trait.values = NA,
met)
}
\arguments{
\item{out.dir}{output directory}
\item{runid}{run ID}
\i... |
544094bf3d49987db2316a59f9d6e11f24ed4b5c | 308b452178b83e533c6451aff9a320c9c03fd89e | /app_ui.R | 970ee19b04ca73366f46cfd83d4c34ca506fe3fc | [
"MIT"
] | permissive | jshifman/shiny-midwest-analysis | c7164412ebb95286bd95341e610ac26a0d1c2b64 | 0c75a4e32b56825a14786d51912c53b3dad7c40c | refs/heads/master | 2023-07-21T14:19:46.438047 | 2020-03-08T06:46:14 | 2020-03-08T06:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | r | app_ui.R | library(shiny)
library(ggplot2)
library(plotly)
selected_values1 <- colnames(midwest)
# Column names for bar chart data
selected_values2 <- c(
"avg_percwhite",
"avg_percblack",
"avg_percamerindan",
"avg_percasian",
"avg_percother",
"avg_percbelowpoverty",
"avg_percchildbelowpovert"
)
x_input <- selectIn... |
008a965dc57d002737be0aa0d237506b61b24caf | 3659f55c5add532a015324e4efb26874b34d51db | /NNEvaluation.R | b7dd6a4665d435c8530df96b636d7b29f09e0597 | [] | no_license | arifkhaan/5GWF2020 | 75c53fe6367fbbb83e928ff1c73f7a1327c6c45f | 7984a4ed1ecd8fd7746624d4f469e0265a765d19 | refs/heads/master | 2023-04-23T09:51:03.038126 | 2021-05-08T10:55:51 | 2021-05-08T10:55:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,440 | r | NNEvaluation.R | ##Evaluate the neural network. Calculate the nearest-BS association coverage probability using the stochastic geometry derivations using our prior papers
##Then use simulations to evaluate the trained neural network, and the strongest omnidirectional SINR association
rm(list=ls())
library(spatstat)
library(VGAM)
librar... |
26069dd4afb56ed189172a95f9fb0a7d9d84e57e | de7e39c2f4640396f9ae666d740d0961c0074fed | /man/posit8-class.Rd | 37923b1b28101fb8b9798fbc89b0ac7108c44a60 | [] | no_license | HPCC-UNUM/SoftPosit | a93df940e274b6153f6908fdbd1d07a64c8d53ea | 92a513fcf3d4b21c1f37ee78c989e7667974069b | refs/heads/master | 2023-04-19T01:54:02.263279 | 2021-04-02T04:33:16 | 2021-04-02T04:33:16 | 177,122,029 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 366 | rd | posit8-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rcript.R
\docType{class}
\name{posit8-class}
\alias{posit8-class}
\title{posit8}
\description{
An S4 class to represent posit8
}
\section{Slots}{
\describe{
\item{\code{v}}{An input value to be converted to posit8}
}}
\examples{
x = new ("p... |
1c440facb73f0bdbc01c980cf36c771e70a1af5a | 407350d22d3a58e93dd9b02bdb5e2213d8c55cc8 | /Other/custom-linear-regression.R | 4ed65b6f2546933cd6c26364e85b3c2b5909a6a8 | [] | no_license | vonElfvin/Machine-Learning-Practice | e679fa2b111c8178273c9b3e375abe528ceac213 | 65334ae79d29673c7ae9e5e4833728cf309be22e | refs/heads/master | 2021-05-14T16:23:43.328273 | 2018-11-23T19:46:05 | 2018-11-23T19:46:05 | 116,019,701 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,422 | r | custom-linear-regression.R | #### Gradient Descent - Linear Regression
### Setup
set.seed(12345)
X.linear = as.matrix(runif(100, -5, 5))
Y.linear = X.linear + rnorm(100) + 3
data.linear = data.frame(X=X.linear, Y=Y.linear)
### Functions
## Returns beta_hat using closed-form solution
get_beta_hat = function(X, Y){
X = cbind(1, X)
β.hat = sol... |
7aa8b94e159f5de4446ba712fbf4e66645e31a08 | 3e5955fe84da5a29e24e432666f597a25b192eab | /Poisson-Regression.R | b3af59c91c9e00a83402359adb0443378c3cca26 | [] | no_license | Fabio-Vieira/Poisson_Regression | 7eb9dab466d2b0121876038c119b3394000cf8af | 00b9673338073f64a6269d3769c38076899eda26 | refs/heads/master | 2020-04-28T06:49:09.146703 | 2019-03-11T19:44:29 | 2019-03-11T19:44:29 | 175,072,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,755 | r | Poisson-Regression.R | #Bayesian Poisson Regression, with prior Student's t and Metropolis Hastings
#with random walk log adaptive proposal
###########################################################################
####Simulating regression model
N <- 20
beta <- c(0.5,2)
x <- cbind(rep(1,N),runif(N,min=0,max=1))
lambda <- exp(x%*%b... |
e3708f75359ff669f195221078ef1a984aa239fa | e80caef11a68003ad7aa47a6354cf946d251bc25 | /man/plot.mimf.Rd | 973d753f7cd1625f4193499f98cca18526b14307 | [] | no_license | PierreMasselot/emdr | 6b657807742f2569371c8bc2d06a17cc1ee9fe95 | a802208b98e506071bb4f3c7eea4d2e5ad0a16f7 | refs/heads/master | 2021-06-25T14:32:37.828294 | 2021-06-16T17:44:31 | 2021-06-16T17:44:31 | 179,749,987 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,856 | rd | plot.mimf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mimf_description.R
\name{plot.mimf}
\alias{plot.mimf}
\title{Plot IMFs}
\usage{
\method{plot}{mimf}(
x,
tt = NULL,
select.var = NULL,
select.imf = NULL,
input = TRUE,
input.lab = "X",
imf.lab = NULL,
grid = c("zeroline", "comp... |
a11dfec920cdb89e7b3be06fa80163f409900e41 | 69bfd5799ec503d4043b15e84ac3fe048535958a | /plot2.R | 8e235883d2258dfc8053b7cd0dfaebcfab274482 | [] | no_license | Rajeethkumar/Exploratory_analysis_project2 | 7dcd60cb1e2178e8fbb0b2933aae3d7474a1efe3 | 54431c5cbf4fa346a1953f6217d408abccf207dc | refs/heads/master | 2021-04-06T10:36:43.558266 | 2018-03-11T14:20:08 | 2018-03-11T14:20:08 | 124,761,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 358 | r | plot2.R | NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
baltimore <- (subset(NEI,Emissions>0))[c(4,6)]
png("plot2.png", width=800, height=700)
barplot((tapply(baltimore$Emissions, baltimore$year , FUN="sum")),xlab="Year" , ylab="Emissions of PM2.5s" ,
main="Emissions at b... |
f9f7999c2c7bd3ec91249ab3eb5d7e04f044002b | c7607eb2c7074cc35b9a20a2c1f22c3654b54d6d | /man/get_metadata360.Rd | 813ccfde79f8aa6b700cfbaf71b7b9f7f11ffa77 | [
"MIT"
] | permissive | asRodelgo/data360r | 9ab9654a8131c18c7ff2ab95d3f030cd9670110d | 1ca85cbf9aa8cf48c0b61c356f99c3fd570c6edf | refs/heads/master | 2021-01-23T17:57:54.879540 | 2017-09-07T19:25:51 | 2017-09-07T19:25:51 | 102,785,930 | 1 | 0 | null | 2017-09-07T21:24:54 | 2017-09-07T21:10:06 | R | UTF-8 | R | false | true | 1,657 | rd | get_metadata360.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_metadata360.R
\name{get_metadata360}
\alias{get_metadata360}
\title{Get TC/Govdata360 metadata from API}
\usage{
get_metadata360(site = "tc", metadata_type = "countries")
}
\arguments{
\item{site}{string pertaining to the data360 site to ... |
5f916aaa207ccef8a3b518ac246540968e5a8898 | 3ec044ea23fe0a2aaf8a3a37b9d85d5fa04d69a6 | /cachematrix.R | 16b3b530a3f2f7a2897bc773b2d9c6e65a031cf7 | [] | no_license | ErikSeras/ProgrammingAssignment2 | 692aa7e0a7e346eed8fac92c7bc73949638e7c00 | fe04ea0d3bef54b41adeb72513b2e5e9d2209472 | refs/heads/master | 2022-11-08T03:17:30.723546 | 2020-06-18T12:48:49 | 2020-06-18T12:48:49 | 273,212,408 | 0 | 0 | null | 2020-06-18T10:47:15 | 2020-06-18T10:47:14 | null | UTF-8 | R | false | false | 3,642 | r | cachematrix.R | ################################################################################
## A pair of functions that cache the inverse of a matrix
## Un par de funciones que almacenan en caché el inverso de una matriz
## Function that creates a special matrix object that can cache its inverse
## Función que crea un objeto m... |
3a3bde03c6f59f3ebef7042496e9269c3327cc1d | b6637bffde58d61c3f60efa3ae9e3f45190a670a | /adjclust.R | 0af9ef303c8ad5f05ae9eda82ba0ab8c4a6ca15b | [] | no_license | asmanouira/MuGLasso_GWAS | e4e6bd72ddd629c4a0625ee8afcdd9006e942ea2 | ec6f119c1e99e6d665f739feac03536c4ce36f5b | refs/heads/main | 2023-08-25T15:00:36.290651 | 2022-02-18T11:42:06 | 2022-02-18T11:42:06 | 390,799,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 869 | r | adjclust.R | library("adjclust")
library("matrixStats")
library("snpStats")
adjclust <- function(bed = 'data.bed', bim = 'data.bim', fam = 'data.fam')
{
# Read plink data as SNPmtarix object
geno <- read.plink(bed, bim, fam)
# Exctrat genotype
genotype <- geno$genotypes
p <- ncol(genotype)
# Plot LD between SNPs
ld_ <-... |
250a0640e4656b0e592a260304604749bf0f5bf5 | 248739c10a827305b54928f07675742e273a0892 | /Talleres/Taller1/Taller1_punto2.R | e43dd32aa9fa7372aa3d921a4e252842eb3ad9aa | [] | no_license | vompaula/Analisis_numerico | 7aa5245ce06bd5d9217d7da82d9d3c0abb3a7d3f | 82937e5c8ad81cfe9b72f83e46d5be9a27397296 | refs/heads/master | 2023-01-23T03:04:48.845738 | 2020-11-26T12:57:25 | 2020-11-26T12:57:25 | 285,422,157 | 0 | 0 | null | 2020-09-05T02:10:14 | 2020-08-05T22:59:16 | null | ISO-8859-1 | R | false | false | 1,815 | r | Taller1_punto2.R | # *** Analisis Numerico 2020-3 ***
#--Trabajo realizado por:
# Laura Mariana Jiménez Jiménez
# Paula Valentina Sánchez Peña
# Sebastián Gutiérrez Zambrano
# Taller 1 punto 2: Raíces de una Ecuación
library(Rmpfr)
library(pracma)
library(Matrix)
#Imprimir los elementos de la diagonal superior de una matri... |
cdd69bd8c11855a86ca00c9a12b8707cb2690481 | b013908e5c154e8932cfc4d672aa09de884fdd4a | /man/below_percent.Rd | 256b9268e85301a3b8f82be04c7d4fdbbd8d943f | [] | no_license | trippsapientae/iglu | 3127f78aafc9b51c172841d7c1b9fc9a790cd2c1 | 06bad5213a4e0eb526ae880cc74cf9eea524163d | refs/heads/master | 2020-08-29T06:11:28.315321 | 2019-09-11T05:15:57 | 2019-09-11T05:15:57 | 217,951,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 594 | rd | below_percent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/below_percent.R
\name{below_percent}
\alias{below_percent}
\title{Calculate percentage below targeted values}
\usage{
below_percent(data, targets = c(50, 80))
}
\arguments{
\item{data}{DataFrame with column names ("id", "time", and "gl"),
or ... |
7f7b03e34d05305ae02178b050356338a524b54e | 435ab223715d6465a5b10469b594b26c273e4609 | /shiny/news/ui.R | c2ac15b7183c583faa73090a7fe5fc7caf7eb486 | [] | no_license | oleglr/forecast | 6a5b5a9894b5dc6e74fd62f06e7ed4d637ac823b | 560a92e2d294f71f61080911d65694e37fdf58bb | refs/heads/master | 2022-04-15T20:54:39.745193 | 2016-12-06T00:05:07 | 2016-12-06T00:05:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | r | ui.R | library(shiny)
# Define UI for application that plots random distributions
shinyUI(bootstrapPage(
# Application title
headerPanel("news"),
dateInput("date", label = h3("Date input"), value = "2016-05-31"),
h4("ニュース"),
dataTableOutput("newsView"),
h4("Tdnet"),
dataTableOutput("tdnetView")
))
|
337c16fc4148245e67f67be8d29e0eb8f3560ab8 | e478018b739a8e4b779490cf5fecc1452fe3ee4b | /Plot1.r | 1baa6adc6bb5aa0aa268ddb79c824d8b2945ec56 | [] | no_license | Ravi-Pratap/Exploratory-Data-Analysis_Course-Project-2 | d7b708500def8cff118e2834727f669c53ea73ae | 7f26daab8f346229224f7858d916a48d22f05966 | refs/heads/master | 2020-04-09T09:29:50.777697 | 2018-12-03T20:47:54 | 2018-12-03T20:47:54 | 160,235,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,514 | r | Plot1.r | #----------------------------------------------------------------
# Ravinendra Pratap
# Exploratory data Analysis
# Course Project 2
# Date: 04/12/2018
#----------------------------------------------------------------
{#---Exploratory Data Analysis : Course Project 2018
#---------------------------------------... |
1c695c78d251416b6f01e06e8744f59909b5db4a | 7bd4158d7a2b701f3d33c1335ef62635b6f8f05a | /tests/testthat/test-get_lai_forcing.R | 880b4a8fade0f10c13eb7c04603d954b34685cb8 | [] | no_license | SticsRPacks/SticsRFiles | f7ceccf81a805cd87939021b76e1d174b5d54c52 | ed3ef394244f3e7a44093dd3c3424ee710282020 | refs/heads/main | 2023-08-30T21:41:20.020763 | 2023-07-28T08:44:29 | 2023-07-28T08:44:29 | 187,986,787 | 2 | 3 | null | 2023-07-28T08:44:30 | 2019-05-22T07:32:34 | R | UTF-8 | R | false | false | 386 | r | test-get_lai_forcing.R | library(SticsRFiles)
stics_version <- get_stics_versions_compat()$latest_version
version_num <- get_version_num()
context("Test LAI Forcing")
workspace_path <- get_examples_path("xml", stics_version = stics_version)
xml_usms <- file.path(workspace_path, "usms.xml")
get_lai_forcing(xml_usms, "wheat")
test_that("Lai ... |
bf7f78c73eeb03af6c5bce81b56a75e9873f0b4c | 0a1bc1eb634a00bc9d540ef166316f1920ec2df8 | /man/v6_deleteFile.Rd | 6832d8a2dbcde8321f35a9bb690fed62fc7873ce | [] | no_license | gorcha/vision6 | 58809b277e3f8052ad348d5d1755d2a776ba5890 | e3d2a1036bbe88d0237f5686b2de450c7bd563b9 | refs/heads/master | 2021-06-03T05:32:29.461543 | 2019-01-31T00:33:49 | 2019-01-31T00:33:49 | 26,483,732 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 407 | rd | v6_deleteFile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/file.R
\name{v6_deleteFile}
\alias{v6_deleteFile}
\title{Deletes the specified File.}
\usage{
v6_deleteFile(file_id)
}
\arguments{
\item{file_id}{(int) The ID of the File to delete.}
}
\value{
true on success.
}
\description{
Deletes the spec... |
d48394e6fe16efd893e99be9ec44e7450e2d0587 | 2b9cac18d5609925c6e9950c8025f4f1dc849bc4 | /Import_Financialdata.R | e34c87de2f8a00a17003eb86797cfafd20f3dd45 | [] | no_license | noisefallacy/R_repository | 6c02b990aa81436a15952d0dfbbf8803257bfbd2 | e5189a33bf62a925fa64f20411d6bf65187e14a7 | refs/heads/master | 2020-04-01T12:11:10.355432 | 2018-10-23T08:07:55 | 2018-10-23T08:07:55 | 153,195,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,257 | r | Import_Financialdata.R | #Importing and Managing Financial Data in R
##Introduction and Downloading Data
# Load the quantmod package
library(quantmod)
# Import QQQ data from Yahoo! Finance
getSymbols("QQQ", auto.assign = T)
# Look at the structure of the object getSymbols created
str(QQQ)
# Look at the first few rows of QQQ
head(QQQ)
# Im... |
2f9d0d695fd2cace647a2be2e603f16369e4bfe8 | 6782e6efbd940fcce65da21fff2ad140e87783c1 | /shiny_rclub.R | 2f51e1dfbcd31463e2bfd273dad22833064287d5 | [] | no_license | JWellsBio/shiny_r_club | ae99b2fab79c3648ff71bab9180a412c1b4bfdcd | af97972748d3cfdd5c87413eae653c21b767046f | refs/heads/master | 2020-12-22T14:32:06.024856 | 2020-01-29T17:31:56 | 2020-01-29T17:31:56 | 236,824,338 | 1 | 6 | null | null | null | null | UTF-8 | R | false | false | 6,525 | r | shiny_rclub.R | ## shiny app for r club Jan 29
# an app that plots incidences of baby names for the 2000s
# interface will include choosing girls name and boys name
# default colors will be purple and springgreen
# load libraries ----
if (!require ('ggplot2')) install.packages('ggplot2')
library(ggplot2) # for general plotting
if (!r... |
2e2bd44e0ff0947ac38f0d543bf014e83925b558 | a0a97ef59eb91053161b4258b56a938591ad92d4 | /Scripts/8_DataTypeNameAttribute.R | 29fa81cdc96cb10cda957f59253e0365af5a425a | [] | no_license | sanudelhi1199/Project_1_Rstudio | f30486e6f8f37b367b0bea5dd632bc850d52ec25 | 49547fe6944961617cbbaa64c0937d43fa6a7454 | refs/heads/main | 2023-04-20T03:57:48.669358 | 2021-05-13T05:43:25 | 2021-05-13T05:43:25 | 365,517,085 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 549 | r | 8_DataTypeNameAttribute.R | # how to give name attribute to data type
x <- c("Gajuji","Manjulaben", "Hitesh", "Rashmika")
x
names(x) <- c("Father", "Mother" , "Son", "Doughter")
x
attributes(x)
# giving name attribute to list
y <- list("Hitesh",22,162,"sanudelhi1199@gmail.com")
y
names(y) <- c("Name","Age","Height","e-Mail")
y
... |
407d8ae4d39e051d93a9491b8313a649f4dcc948 | d626528505226594530f3500133f3de54af4940f | /projekt/Praktikum Stat UNPAD/Pertemuan 11.R | 3e59928e38d7a125fe1c81ac8f61861a6efddc6c | [] | no_license | jakajek/R-Mighty | 4541a87c1abcb6be7372939ba3621fd61390b9e6 | 5646cf26daf9dcca5f0cee9633d640f636aaa4a2 | refs/heads/main | 2023-07-13T03:10:24.273816 | 2021-08-18T13:57:09 | 2021-08-18T13:57:09 | 397,247,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,293 | r | Pertemuan 11.R | #1
my_data <- ToothGrowth
#install.packages("dplyr")
library(dplyr)
set.seed(1234)
dplyr::sample_n(my_data, 10)
#2
str(my_data)
# Convert dose jadi factor dan recode levelnya
# as "D0.5", "D1", "D2"
my_data$dose <- factor(my_data$dose,
levels = c(0.5, 1, 2),
... |
df98955a42459145f64f1769f26aeb30a29d05ca | 47088551d33d6fa167a2bb4b308b52b0300d1f19 | /problem/SingleCellGrow/MethodsPerformance/slowmodel/gridsearch/adk/basic.r | 7c51481c8b2b1583a4dbedf3d136be5998e7a439 | [] | no_license | hydrays/sspat | 1b0f2f7d581ce1ed84d4a61afe964d28858cfd05 | 9c4bc01ec124b31679199b1abac8643fac9a6777 | refs/heads/master | 2021-01-21T02:31:02.743226 | 2020-12-19T03:52:34 | 2020-12-19T03:52:34 | 39,364,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,082 | r | basic.r | library('adk')
dyn.load('simulator1.so')
source('simulator1n.r')
# Simulated data
T <- 8
r1 <- 0
r2 <- 0.6
d1 <- 0
d2 <- 0.3
v <- 0
w <- 0
N <- 100
#mcell <- as.matrix(read.csv('data/simcella.csv'))
#mcell <- simulator1n(T, r1, r2, d1, d2, v, w, N)
Nsample = 10000
.lenr2 <- 101
.lend2 <- 101
x <- seq(Nsample)
pvalu... |
fe1158615a388d6acf7230d32ba5ed46bdec3d83 | ecc8c901094530f0954a2f98dfec4e0bd01f3dd3 | /Listas y vectores.R | 880373c80cd98329a16911dedf6b0260aa931d03 | [] | no_license | SergioContreras20152077/Estadistica-en-R | 17bad1575f6ffa7d1090a6c88ca4c818bc03401c | 59e45cbb85997f0ed478c7f67ea66839e3876c07 | refs/heads/master | 2020-12-14T15:43:01.704799 | 2020-01-18T22:00:39 | 2020-01-18T22:00:39 | 234,793,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | Listas y vectores.R | numeroenlista=list(1,2,3)
numeroenlista
vectorlista=c(1,2,3)
vectorlista
#se pone comillas cuando se trabaja con palabras para que R lo reconozca
x=c("a","b","c","d")
x1=c(20,32,53,56)
x2=c("hombre", "mujer", "hombre", "mujer")
Dataframe=data.frame(casos=x, edad=x1, sexo=x2)
Dataframe
#importar datos
datos=read.spss("/... |
8df31166182b2b0dd87f172a658c0538c2d502c3 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Miller-Marin/trafficlight-controller/tlc02-nonuniform-depth-132/tlc02-nonuniform-depth-132.R | ff793e4eb49841f1ef5205f9cf53eb2318ee25f0 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 79 | r | tlc02-nonuniform-depth-132.R | aaab70c3ee29ca5c413c4e40723f1332 tlc02-nonuniform-depth-132.qdimacs 30458 80324 |
f3fe56b56fd7466a2c05ad5bcbf5948c5b4dd5dc | 11a34b0073a682ffe3de8fc2e80e32d4a69d93a5 | /F1_snpfilter/2_5Bsnp/snp_freebaysfilter.R | 53eeb19c03d9564ba3756a494e0ddd3c3d9f13b8 | [] | no_license | xinwenzhg/yeastAse_stats | 60ec644f5604da44f36613be9298acc90582b2a6 | cc25a702c713c8038f6ded46032ae8ba35ee6e8d | refs/heads/master | 2022-04-16T16:14:31.110385 | 2020-03-17T22:52:29 | 2020-03-17T22:52:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,928 | r | snp_freebaysfilter.R | mydisc <- function(chr1,pos1,chr2,pos2) {
if(chr1 != chr2) {
return(Inf)
}else{
return(abs(as.numeric(pos1)-as.numeric(pos2)))
}
}
tf2groupName <- function(x) {
ans <- vector(length=length(x))
k <- 1
ans[1] <- 1
for(i in 2:length(x)) {
if(x[i] == TRUE) {
k <- k+1
ans[i] <- k
... |
3b1a3ac223e23ef333ca6740687535a9f7266545 | 79be2d33dde823dc51d0729ef17385b95ddc844f | /routines/update.b.R | 6606e91a155633129dcd32d2a5b6d47536a8ecab | [] | no_license | sungkyujung/COBS | cff4322dc8feb810daf749cb3ec70cb758c51eaf | 526e47b445fa9b4600d6ba37b4a2d95a56d6ec4a | refs/heads/master | 2022-11-17T22:58:30.223135 | 2020-07-10T04:21:44 | 2020-07-10T04:21:44 | 278,534,435 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,684 | r | update.b.R | update.b <- function(X = X, Y = Y, v = v.now,
param = list(alpha = 1, lambda = NA),
grp.index.X) {
# lambda.b > 0 (overall sparsity parameter for coefficient B)
# alpha.b in (0,1)
# (if 0, group lasso, if 1. lasso.
# If 1 (or 0), the (group) lasso parameter is l... |
caf6a2628d953987870f29f5bd0d63f8b4664582 | a226f4b4cf54dd0e8164a727d24dca99e79e1354 | /tests/testthat/test_write_spss.R | 83f4ffd54f5675c4ea791494833e82cbe99a621b | [] | no_license | beckerbenj/eatGADS | 5ef0bdc3ce52b1895aaaf40349cbac4adcaa293a | e16b423bd085f703f5a548c5252da61703bfc9bb | refs/heads/master | 2023-09-04T07:06:12.720324 | 2023-08-25T11:08:48 | 2023-08-25T11:08:48 | 150,725,511 | 0 | 1 | null | 2023-09-12T06:44:54 | 2018-09-28T10:41:21 | R | UTF-8 | R | false | false | 5,632 | r | test_write_spss.R |
### load test data
# df <- getGADS(filePath = "tests/testthat/helper_database.db")
df <- getGADS(filePath = "helper_dataBase.db")
# label_df <- labelsGADS(filePath = "tests/testthat/helper_database.db")
label_df <- labelsGADS(filePath = "helper_dataBase.db")
label_df_V2 <- label_df[which(label_df == "V2"), ]... |
d887c7750840357e6da9a204abd897073b86364b | a17576eece9911c1e48dab9e05734bc0a3c15702 | /Trang-Dennis/factor-filter.R | 957f8e5b6b72b0e6c2d703d510b5cff4d3948e75 | [] | no_license | nguyentr17/S17MAP | 83284caeede870f1ddeab680dce3137920776076 | 1673c95607b62c19ed26bdfcb7c07bd8556d7213 | refs/heads/master | 2021-01-11T16:16:01.512199 | 2017-05-09T01:48:10 | 2017-05-09T01:48:10 | 80,052,109 | 0 | 5 | null | 2017-03-14T19:14:20 | 2017-01-25T19:58:33 | HTML | UTF-8 | R | false | false | 3,146 | r | factor-filter.R | ### R=script : factor-filter.R
### Description : This R script is used to create solid factor columns and clean corresponding levels.
### In-the-context: It will be used for analysis and filtering in Shiny app.
### 1. Factor to be filtered: GENDER
### A set of criteria for regular expressions/ key patterns
gen ... |
b5468f8d487af9217dfb070d5267876cd14c8bb4 | 88ed4aca19097614e87ff5e2512eb5082f418e12 | /scripts/pValues.R | e353604abf7ab23107f0d685c086472799d49ff5 | [
"MIT"
] | permissive | tomfaulkenberry/RworkshopTLU | 021541477b440ac4bb963b7c830751ca27cef692 | 4c933ce0cb2135bd4e6b85c49f0d571246a8a7fb | refs/heads/master | 2020-03-26T06:16:22.334931 | 2018-08-15T09:11:10 | 2018-08-15T09:11:10 | 144,597,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,210 | r | pValues.R | #Disable scientific notation (1.05e10)
options(scipen=999)
#Set number of simulations
nSims = 50000 #number of simulated experiments
M = 109
n = 50 #set sample size
SD = 15 #SD of the simulated data
p = numeric(nSims) #set up empty variable to store all simulated p-values
bars = 100
#Run simulation
for(i in 1:nSims... |
f0b1b5b03bb86312ca41d8f1391c88d7e65cdfef | 4073274c2d2b6bf0eafa9ffdef36abd1aefdb70d | /man/draw_isolation_delay_period.Rd | c6776f65925aaa47ab892ff3c90a836b610705f1 | [
"Apache-2.0"
] | permissive | bcgov/epi.branch.sim | 4ff0d7dee7b135e409eed6881f3cd7485f96fdd9 | 4e06cd4dcca9309902c8791fdf69783e37db5e64 | refs/heads/main | 2023-01-29T08:55:54.471932 | 2020-12-14T22:10:19 | 2020-12-14T22:10:19 | 285,740,030 | 9 | 0 | Apache-2.0 | 2020-12-14T22:10:21 | 2020-08-07T04:51:07 | R | UTF-8 | R | false | true | 2,985 | rd | draw_isolation_delay_period.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/draw_distributions.R
\name{draw_isolation_delay_period}
\alias{draw_isolation_delay_period}
\title{Draw delay to isolation periods for new cases}
\usage{
draw_isolation_delay_period(
state_df,
sim_params,
primary_state_df = NULL,
prim... |
b311150e70e5c408c8b0aaea8aa082dc6d4a98eb | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.end.user.computing/man/appstream_describe_image_permissions.Rd | a6a4d22b613cf27fafabad27bbfd950910dab32f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,151 | rd | appstream_describe_image_permissions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/appstream_operations.R
\name{appstream_describe_image_permissions}
\alias{appstream_describe_image_permissions}
\title{Retrieves a list that describes the permissions for shared AWS account
IDs on a private image that you own}
\usage{
appstre... |
de0fa4da4f9be15e8643c2f54365133424855773 | 2a249957bef6cb690405bf09ff2eda8899f537bc | /5/app.R | b02ff715add3fb2c025956687731113a83099b89 | [] | no_license | clobos/Renata_Cristian_Clarice | 9dd216a819ded7f1ddfa1edf0f1fe5f8ddc0e53b | 5fe6d36c722e684bcc2a3b3e5e69f932021fefcd | refs/heads/master | 2020-08-07T14:33:50.567595 | 2019-10-07T21:33:40 | 2019-10-07T21:33:40 | 213,489,755 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 147 | r | app.R | library(shiny)
ui <- fluidPage(
titlePanel("Meu primeiro App em Shiny")
)
server <- function(input, output){}
shinyApp(ui = ui, server = server)
|
509039c32918d20c6d0951c3813c9a5586d17d93 | bec75f7b755d0c79f6c973069802312740fd9e09 | /Tarea5/Regresion_lineal.R | 891600896e3ab5030aa392f4cd3f7fbb9ba71ef0 | [] | no_license | IMNOTAROBOT/CompuStat | c85b078621e759458730f8de65986024317b892f | 87eebecfaeea34174c01726ef6df9e2a92d90e88 | refs/heads/master | 2021-01-23T20:21:27.984189 | 2016-01-08T13:00:24 | 2016-01-08T13:00:24 | 41,065,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,641 | r | Regresion_lineal.R | library(Rcpp)
library(ggplot2)
# Estimación de media
data(iris)
head(iris)
names(iris)
## Regresión hecha por R
mod <- lm(iris$Sepal.Length ~ iris$Sepal.Width + iris$Petal.Length + iris$Petal.Width)
summary(mod)
plot(mod)
##A mano
X<- as.matrix(cbind(1,iris[,2:4]))
Y<- iris[,1]
beta.hat <- solve(t(X) %*% X, t(X) %*... |
aee588bb45744d8d65d4edd590657738e99bdfde | 3059b99e4aa4b3ddbdf19ab0570ad322c5604a88 | /Nadi/server.R | 8aa602ec29afabf6911009a9b0dff4e519431ed2 | [] | no_license | witusj/Quizii | f75f540d8b1c41c9c5b5c22043b7860c8541be18 | ca053f1cdb576d32941c1dddbc6ea4b9ccec39d8 | refs/heads/master | 2020-06-04T20:05:51.638894 | 2014-09-23T12:03:43 | 2014-09-23T12:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,587 | r | server.R | #Load all necessary supporting files
library(shiny)
library(plyr)
source('Setup.R')
#Set up server
shinyServer(function(input, output, session) {
source('Globals.R')
##Sample n MC from database. For each MC question randomly choose
##order of answers. Save correct answers in reactive value variables.
prin... |
8da45d8ac4f77e27e45ebecdfb2f5333319b56ee | bf3edc3f036a643e185bee233055d1a0ecc47d80 | /pvalue convergence - spinable.R | f4a5be077542aee22316fa2ba48347bdb4f37782 | [] | no_license | dmarx/Target-Shuffling | da0f88601ac38d6f89a6685241cce54b63899161 | 6b8132cbf4123d761e6711930c7066d62a1356eb | refs/heads/master | 2021-01-10T19:02:49.029727 | 2016-02-19T23:00:34 | 2016-02-19T23:00:34 | 40,012,744 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 12,695 | r | pvalue convergence - spinable.R | #' ---
#' title: "Demonstration of Generic Target Shuffling"
#' author: "David Marx"
#' date: "September 15, 2014"
#' ---
# /*
# #################################################################################
# # NB: This R script can be compiled into a static notebook by using #
# # RStudio's ... |
663de0a58b734308be66a387bd8875d10c8f0e31 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /A_github/sources/authors/2691/stacomiR/ref_timestep.R | aec26e9962f89cd142b5b5b79d2abbee89e4ddf8 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,975 | r | ref_timestep.R | UNE_SECONDE = as.difftime(c("0:0:1")) ;
UNE_MINUTE = 60 * UNE_SECONDE ;
DIX_MINUTES = 10 * UNE_MINUTE ;
QUINZE_MINUTES = 15 * UNE_MINUTE ;
TRENTE_MINUTES = 30 * UNE_MINUTE ;
UNE_HEURE = 60 * UNE_MINUTE ;
DOUZE_HEURES = 12 * UNE_HEURE ;
UN_JOUR = 24 * UNE_HEURE ;
UNE_SEMAINE = 7 * UN_... |
cacc31a752618bf3d0ff72dd8cb334130ea7573f | 6f56e71fc7d220998d498971fd37ac548077f35e | /man/mfisher.test.Rd | ad44e0a631708726dedc29192ac57bf1f5d29d4f | [] | no_license | cran/multfisher | 0e48321cfb09dbed3b8a589126e988aabe62072a | a8d892b91659a9adeff0eac52b41911b7c7750e2 | refs/heads/master | 2021-01-20T03:59:47.855035 | 2018-02-23T09:29:06 | 2018-02-23T09:29:06 | 89,617,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 10,461 | rd | mfisher.test.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multBinExact_2-4.R
\name{mfisher.test}
\alias{mfisher.test}
\title{Optimal Exact Tests for Multiple Binary Endpoints}
\usage{
mfisher.test(x, y = NULL, method = c("alpha.greedy", "alpha", "number",
"power", "bonferroni.greedy"), alph... |
4d41d4d2e67e1c9e19755f4ba26d0a0ad3f6bd99 | d5a70bccd84fec06593bdf1293dbba6b1cf3276b | /inst/testing/stan-time.R | 5e89a017a0e42c2fc1f32354720801c7242b8017 | [
"MIT"
] | permissive | medewitt/pandemic | 34c74d113e7a3eb8746f4a8503af7abca4829e8f | 86acdf53a044119738cfc96835d56eaa5ac7c370 | refs/heads/master | 2022-06-06T10:51:12.601042 | 2020-05-01T18:50:47 | 2020-05-01T18:50:47 | 255,982,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,093 | r | stan-time.R | library(deSolve)
library(dplyr)
library(rstan)
library(outbreaks)
library(bayesplot)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
# https://github.com/anastasiachtz/COMMAND_stan/blob/master/SingleStrainStan.Rmd
onset <- influenza_england_1978_school$date
onset <- dat_red$d... |
f780b490991a44f77516ae0d0703879195d6b037 | b591a9d42c1933f3bf798e2bd87ba3cb2171daba | /r_scripts/short_long_term_trends.R | 352ee0c1efc915b9c806922de104417062f818c0 | [
"MIT"
] | permissive | mtaylor-semo/163 | 79e24cfe51a984feb4d5dd8f1d38dee371655466 | 84f7a0e86200a36654618e1d91fcf4a583288c15 | refs/heads/main | 2023-08-17T21:05:01.563216 | 2023-08-15T14:06:42 | 2023-08-15T14:06:42 | 78,750,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,121 | r | short_long_term_trends.R | # Code based on
# https://data-steve.github.io/global-temp-pt2/
# This uses only adjusted global temps.
library(tidyverse)
library(ggthemes)
library(RColorBrewer)
## Uncomment the following lines to get the latest data file.
# if (file.exists('HadSST.3.1.1.0_monthly_globe_ts.txt')){
# file.rename('HadSST.3.1.1.0_mo... |
906af63238eae63e0e86d7f0b358a317b36a66f4 | 2509533c9af9069aa18ad4eeeb222aef0b67de6a | /R/countsPerPatientMonth.R | 213a515dfbfb556d839288861296a07c97270655 | [] | no_license | aGutierrezSacristan/temporalVariabilityAnalysis | 5f21e555d061121c989cbfa1125d45f823da116a | d4d398b55f8b9b26dcbe9fd60d4891a7e3399f7f | refs/heads/main | 2023-04-16T05:16:39.648791 | 2021-05-05T00:23:18 | 2021-05-05T00:23:18 | 335,374,105 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,826 | r | countsPerPatientMonth.R | countsPerPatientMonth <- function( observationFile, clinicalFile, obfuscation, type ){
if(type == "diagnosis"){
observations <- unique( obs_raw %>%
filter( concept_type == 'DIAG-ICD10', days_since_admission >= 0) %>%
mutate( pair = as.character(paste0... |
63cff455e5ce3affc252f2269af50a0773639499 | b7854de8e5b0f97ec18dbed95559abd7ec0380d7 | /man/visualize.Rd | 63f5fa3ef82c15341440f5aa3bad3220ef3a770b | [] | no_license | sahatava/MicNet | 58615ddbb69426f3fa4468ee5b76f8250126140b | 9c5176ed9ff8993cf02d9e3fb55872226f4efbf1 | refs/heads/master | 2020-06-24T23:27:47.060733 | 2019-09-30T14:29:51 | 2019-09-30T14:29:51 | 199,124,692 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 231 | rd | visualize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualize.R
\name{visualize}
\alias{visualize}
\title{A function to}
\usage{
visualize(partial, threshold)
}
\value{
res
}
\description{
A function to
}
|
346fd1234eea6a416375d159711cd97dbb0334e2 | 9da5e5230522f71434aeb7ba08ed554702f5a3c7 | /power_ecotox/ui.R | 946f222cb7e81fdb5e6397802bfaf9c75614a320 | [
"MIT"
] | permissive | eduardszoecs/shiny_apps | cc728f3f7e1d7128cee0b416379d5d5ef047e2f3 | 9e956e8fdfcbe3766611bc0c469210539e72fc15 | refs/heads/master | 2023-02-09T17:46:43.406297 | 2016-12-30T11:58:04 | 2016-12-30T11:58:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,943 | r | ui.R | library(shiny)
library(shinythemes)
library(ggplot2)
# Define UI for slider demo application
shinyUI(navbarPage("shinytox (alpha)", theme = shinytheme("united"),
tabPanel('Introduction', value = 'rm',
includeMarkdown("md/README_intro.md")
),
tabPanel("Power",
... |
30dddfdee35715fb18919d4e14c1ee4c70e2bac8 | 2691c3c0a93abc48ce909f76fc6d1304576426e5 | /man/rfe.rmse.plot.Rd | 41324cece28fc5fcf73500f160876da80b92b233 | [
"MIT"
] | permissive | liuyanguu/plotthis | f1857b5d41bc3da3929e15de122df868f0613da5 | 0fdd13d62bd1c7eade7975314a813d01ff390f50 | refs/heads/master | 2020-06-30T16:54:02.825891 | 2019-08-10T20:42:58 | 2019-08-10T20:42:58 | 200,889,961 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 488 | rd | rfe.rmse.plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cv_rfe.R
\name{rfe.rmse.plot}
\alias{rfe.rmse.plot}
\title{Show RFE results: make plots of rmse for new RFE.
updated on (19.04.06). only one line is plotted.}
\usage{
rfe.rmse.plot(rmse_rfe = rferesults$rmse_rfe)
}
\arguments{
\item{rmse_rfe}... |
1378a3eab51f5559e6e425b5701164f5bb61e06e | cdf173e0189074feed208d86b1fb59fffd987405 | /Randoms/processFiles.R | 972ea9f2060f3933b20f650f623fe57820a6a6de | [] | no_license | apineda90/Metodos | 168c665fdcc903537da7fb265075a0d7a99a57c6 | d1eda601c54f2aef08e801f1b0c27e1c169707e9 | refs/heads/master | 2021-01-10T13:56:09.977217 | 2016-01-27T04:51:21 | 2016-01-27T04:51:21 | 50,320,090 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | r | processFiles.R | library(sqldf)
library(tkrplot)
library(car)
## levene test http://www.cookbook-r.com/Statistical_analysis/Homogeneity_of_variance/
levenetest <- function(dataset){
file1<- read.csv(dataset,header=TRUE,sep = ",")
## plot(write_count~group, data = file1)
leveneTest(read_count~as.factor(group), data=file1)
}... |
b8c168123c450ad0cf571228215d0e0472d73e38 | c29c7b4b9e3d1e1e7b1ea8d888bbb38719ceec89 | /RPM.R | 796c222ebb461a977b205025cfb233a6bd213696 | [] | no_license | bweasels/SequencingUtilities | 1732c53b9a1b602fe50f387af44d4de8108822e5 | 45255e18b56b620e00803c725dd56d18bae1051b | refs/heads/master | 2021-07-06T16:55:05.734785 | 2020-10-15T17:43:36 | 2020-10-15T17:43:36 | 194,119,328 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 94 | r | RPM.R | RPM <- function(counts) {
RPM <-apply(counts,2,function(x) x*1e6/sum(x))
return(RPM)
} |
0d652670671f0d7eff71bd4469e3bae9a179ca29 | 548cf427d3dae97f216bdae6accfa95bf02bbf2e | /src/select.R | a715fb98091dd1d7c529316b2d05ce430a351333 | [] | no_license | mlcenzer/Code-for-dispersal-evolution-and-LA | 27eb0818d47d0a021dff298c670ff2fe868493ae | a2eae9a0eb2f043506701fb46d32f09394cd4c8a | refs/heads/master | 2021-04-06T14:06:28.848888 | 2018-10-14T16:18:14 | 2018-10-14T16:18:14 | 125,384,625 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 136 | r | select.R | ## selection
select <- function(prms, pop)
pop1 <- array(rbinom(length(pop), pop, prms$real.hab.fit),
dim=dim(pop))
|
5f3e27461bc06cd042dd881656e98fda585c88c2 | 317360cc997480b99ee0b5f29d4f682d5c5493e5 | /man/fit_model.Rd | 6e05e9062ded1b9fe5bf793332410ddbd5250ba1 | [] | no_license | StevenBoys/Ensemblelearn | 408fcd88b533bbcf4e57de6518a10dd8cf5bee7c | db4c1da875020970597d38f607f5af0e34a70f8b | refs/heads/master | 2020-09-05T12:10:11.829363 | 2019-12-08T04:26:06 | 2019-12-08T04:26:06 | 220,099,511 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 780 | rd | fit_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EnsembleFuns.R
\name{fit_model}
\alias{fit_model}
\title{Function that gets results from weak model}
\usage{
fit_model(fweak, parallel, data)
}
\arguments{
\item{fweak}{- function that generates estimate from weak model based on input}
\item... |
36743b1bf462696ee53d6bba0c7278ef6eda74a9 | 8a2148c79a23f8fa878c309a40f21f721ffa188c | /Code/NewCode/plot.R | 7c776dccc0337d2c1abfde31b94a1f849b24b04d | [] | no_license | LiXiang618/Scenario-Analysis-On-Portfolio-Rebalancing | 8738f0a4363d92969b9879f558a7b975d346e20c | edbd1f085fef95a79fa37f1dd8a1584080d0c3a1 | refs/heads/master | 2021-05-02T08:25:58.071553 | 2018-02-24T02:35:46 | 2018-02-24T02:35:46 | 120,800,673 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 599 | r | plot.R | par(mfrow=c(2,2))
plot(S,type = "l",col = "red")
plot(B,type = "l",col = "green")
plot(V_bh,type = "l",col = "purple")
plot(V,type = "l",col = "purple")
par(mfrow=c(2,2))
plot(V_bh,type = "l",col = "green")
plot(V_daily,type = "l",col = "pink")
plot(V_mon,type = "l",col = "red")
plot(V_con,type = "l",col = "purple")
... |
ff9e001e1f484f116d24fca573dc8a896ffd3695 | fdc6fe3e44626a8d8a7a23004b2919ea949affc6 | /plot3.R | b72277502abfb66f3bab7e072ff92a0115c0ef8e | [] | no_license | mkerikss/ExData_Plotting1 | a2ac64f3383e71fa39cb1284f14fe73a50b1509d | ebb2ac10275717175d7a23bd602d72712e2bdf12 | refs/heads/master | 2021-01-15T18:36:13.793041 | 2015-03-08T20:43:46 | 2015-03-08T20:43:46 | 31,847,447 | 0 | 0 | null | 2015-03-08T11:30:40 | 2015-03-08T11:30:40 | null | UTF-8 | R | false | false | 731 | r | plot3.R | ## Reading data
file<-"household_power_consumption.txt"
dat<-read.table(file,header=TRUE,sep=";",na.strings="?")
## Only two days investigated
dat<-dat[which(dat$Date=="1/2/2007" | dat$Date=="2/2/2007"),]
## Variable for dates (Date-format)
datetimeStr<-paste(dat$Date,dat$Time,sep=" ")
datetime<-strptime(datetimeS... |
a73b8479bd8e7d48833e4647fc3839d436e6882d | a6ac32e43c91a3e4594685a585455ebe89c9a04e | /R/findRoot.R | b4564a09575458015e71e2feeb3d832fd6c7ecef | [] | no_license | heibl/megaptera | 6aeb20bc83126c98603d9271a3f1ae87311eedc1 | 5e8b548b01c40b767bd3bb3eb73d89c33b0bc379 | refs/heads/master | 2021-07-08T16:44:30.106073 | 2021-01-11T13:58:04 | 2021-01-11T13:58:04 | 55,764,237 | 5 | 0 | null | 2019-02-13T13:50:43 | 2016-04-08T08:44:44 | R | UTF-8 | R | false | false | 2,572 | r | findRoot.R | ## This code is part of the megaptera package
## © C. Heibl 2017 (last update 2018-12-12)
#' @title Lineage Down to the Root
#' @description Finds the lineage from one taxon, or the most recent common
#' ancestor of several taxa, down to the root of the Tree of Life.
#' @param x An object of class \code{\link{megapt... |
c7fa2f6a364ee6718be1780251a3920feb8b99c4 | f33a2a4d9f7fce3045407e17234cc7a97507d05e | /R/fars_function.R | b823c658e0566db86a875a5daad3b5c2b689752d | [
"MIT"
] | permissive | Karol-sandoval/fars_package | 08c7a1d12fa49fe6e4324a28dd4ba631be3dc69d | b7558a1ccf3352bac541c6d74826665c8b5266c6 | refs/heads/main | 2023-03-29T01:34:05.995980 | 2021-03-30T15:27:31 | 2021-03-30T15:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,403 | r | fars_function.R | ##############################################################################
############################## FarsKevin Package #############################
##############################################################################
# fars_read function ------------------------------------------------------
... |
bdc17d3d445ad56dce206283e3f640478271c5be | 90eed8ec232b53d6be041f43238129c523f429a1 | /R/aggregate_OCN.R | addd70bc3e6b86fef9dae9b312bec9154b95d2de | [] | no_license | jacquetclaire/OCNet | f3f991ee3ebca6cb6c1e4d30bcb2ec723ca93df0 | 6220561edabaca3838bfae2092d9b946a0da3125 | refs/heads/master | 2023-01-08T00:28:27.280536 | 2020-07-23T05:54:18 | 2020-07-23T05:54:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,361 | r | aggregate_OCN.R |
aggregate_OCN <- function(OCN,
thrA=0.002*OCN$dimX*OCN$dimY*OCN$cellsize^2,
streamOrderType="Strahler",
maxReachLength=Inf){
if (!("slope" %in% names(OCN$FD))){
stop('Missing fields in OCN. You should run landscape_OCN prior ... |
73dfb32287ae1e5216ff4bd6390ad6972c90922d | 7da718dc45c69be0dbf0409fe423f32f28151dff | /inst/shiny/server_5_prettyPlot/server_5_prettyPlot_toplot.R | 7cafc99f101cd86b7ed343cd1a49ef42e27f2da8 | [] | no_license | cran/eSDM | ac865dd1a35268c31a17be3e20d964b1882bb850 | 35c58df0a1d89e5c501ecd55cb3608c5ebda5101 | refs/heads/master | 2021-06-16T10:59:20.678147 | 2021-05-04T03:50:08 | 2021-05-04T03:50:08 | 199,010,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,331 | r | server_5_prettyPlot_toplot.R | ### Code for 'High Quality Maps' tab for adding parameters to reactive values
# maps 'toplot' aka saved maps. 'toplot' used in various names
###############################################################################
### Add data to pretty plot reactive variables
pretty_toplot_add <- eventReactive(input$pre... |
9bcc05a308328d9e85a862788e9faf7a7f8b63b7 | 15e8eddb196c8d977d138511bf96ea9503c7d071 | /man/choice_text_from_question.Rd | 46c0759d9a676afa13e6b9da9654d604a003c64a | [] | no_license | leettran/QualtricsTools | 41f83cf6e9b907152e38e1c7cd34236bc2debb20 | 3523f91a54e3bd31b9b1d8ac3456399027754c6c | refs/heads/master | 2021-05-06T09:19:54.204181 | 2017-12-11T17:30:38 | 2017-12-11T17:30:38 | 114,054,095 | 1 | 0 | null | 2017-12-13T00:33:26 | 2017-12-13T00:33:26 | null | UTF-8 | R | false | true | 1,282 | rd | choice_text_from_question.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_functions.R
\name{choice_text_from_question}
\alias{choice_text_from_question}
\title{Get the Choice Text based on the Choice from a Question}
\usage{
choice_text_from_question(question, choice)
}
\arguments{
\item{question}{This is a ... |
5a1bb004d97b2f6cb7ffc30d801703954959a93f | dec6fcd5a0329f808e2e8d980f94dd3cf6e80c55 | /svd.R | fe8f457d7b94e40e3bf195b74e0fb822b14fa48a | [] | no_license | IggyZhao/NLP-and-Time-Series-Notes-by-Iggy | 5711707c04ef71a3a249d3590d0172d965e42366 | cba89102bc73ae6fd6241f4cbf0bcb08a765ba03 | refs/heads/master | 2022-12-08T04:50:52.979765 | 2020-08-28T02:44:39 | 2020-08-28T02:44:39 | 286,923,306 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 567 | r | svd.R | options(digits=3)
A = cbind(c(1,3,4,5,0,0,0), c(1,3,4,5,2,0,1), c(1,3,4,5,0,0,0), c(0,0,0,0,4,5,2), c(0,0,0,0,4,5,2))
# default decomposition
s1 = svd(A)
A1 = s1$u %*% diag(s1$d) %*% t(s1$v)
s1
A1
# lower-rank decomposition (thin SVD)
k = 2
s2 = svd(A, k, k)
D = diag(k)
diag(D) = s2$d[1:k]
A2 = s2$u %*%... |
31fc30304bf1e14d158d23764051607319a623bf | c1a59d6d38c52662ae5c28ee653d369effc8a96d | /OLD-OBSOLETE-FILES/R-testing-PB.R | d4729337fccbedf2417abae3a0697c83794b63f1 | [] | no_license | DataScienceDuo/COMPAS | 95f5137d4d6d5d14cad49ad4466bb57b3f1959a3 | 9a7a213ac606293939e5ae0340ad1c631309691b | refs/heads/master | 2022-12-06T17:32:13.791455 | 2020-09-01T18:54:26 | 2020-09-01T18:54:26 | 268,357,852 | 0 | 1 | null | null | null | null | WINDOWS-1252 | R | false | false | 2,017 | r | R-testing-PB.R | ##############################################################################################
#### OBSOLETE ALL CODE MOVED TO FILE "logit_ref_testing_pb.R" ################################
##############################################################################################
library(readr)
library(IDPmisc)
c... |
bc5bef8d5da23dacb36c4c8c85a0be9b906bbc40 | 8b9b6f22f29652151485c9f573ba09077847018a | /workout2/code/functions/count-vowels.R | d06c15d8edbf8aef48f3355dc7e2522a1ba522bd | [] | no_license | richardjmin/stat133-hws-fall18 | c8cdc84648fee933c149b326e9b79b6d59e59dd1 | 53e43de8468d558004e9a474452015f4089504d0 | refs/heads/master | 2020-03-30T14:36:45.508603 | 2018-12-03T07:38:17 | 2018-12-03T07:38:17 | 151,326,608 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 752 | r | count-vowels.R | #' @title count vowels
#' @description computes the number of vowels of a character string
#' @param string
#' @return number of the computed vowels
count_vowels = function(x) {
if (is.character(x) == FALSE) {
stop("invalid input; a string was expected")
}
vowels = c('a', 'e', 'i', 'o', 'u')
a = 0
... |
47f958269ea5df2388afd26c38dc4bee85db4e4e | aa2b0a69212c29a03238b9b9e17a7919251e7fe6 | /R/idx2Timeseries.R | ab5da82c229c3f045f8b04170f0fd6c7ec949891 | [] | no_license | vicelab/apexsensun | 793b389ecbee02fd2aa408a6e94c3ea6d2109b51 | 4a8b789d4dcfa7f01dd02c8ae4b60a2ddefdea61 | refs/heads/master | 2023-03-15T23:50:47.227652 | 2018-11-15T20:06:20 | 2018-11-15T20:06:20 | 532,413,139 | 0 | 0 | null | 2022-09-04T01:42:14 | 2022-09-04T01:42:10 | null | UTF-8 | R | false | false | 3,133 | r | idx2Timeseries.R |
#' idx2Timeseries
#' @description Extracts output time series corresponding to accepted simulation. indices with a selected time window.
#' @param dwsFolderPath Folder path for .DWS output folder.
#' @param startDate Start date with format YYYY-MM-DD (e.g. "2002-01-01").
#' @param endDate End date with format YYYY-MM-... |
a394013a90ef54f847b7cadac1ed093d8104e4b8 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/sourceR/R/sim_SA.R | 2aa42358ac576b23aee781892bcf5fe946444e00 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,361 | r | sim_SA.R | #' Simulated data: Human cases of campylobacteriosis and numbers of source samples positive for \emph{Campylobacter}.
#'
#' A simulated dataset containing the number of human cases of campylobacteriosis, the numbers of source samples
#' positive for \emph{Campylobacter} for each bacterial subtype, and the overall sourc... |
b7195f97c3ea1d605b827034699a495f7169e8e8 | 18f784df016eda75bdf7f8e479d97666689abe07 | /Functions/dropdownHeaderUser.R | d897231d023100a92a78da189ad98c36825937cf | [] | no_license | OpenSourceMindshare/MindshareShiny | 46729ed12a8f871e4aee8678468ad5a79dffcd30 | f2994ced8872aa088304ab7f630b2131e78182b0 | refs/heads/master | 2020-06-15T10:36:55.784273 | 2019-09-09T15:17:40 | 2019-09-09T15:17:40 | 195,274,704 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 790 | r | dropdownHeaderUser.R | dropdownHeaderUser <- function(title,body,footer=NULL){
if(!is.null(footer)){
tags$li( class="dropdown user user-menu",
tags$a( href="#", class="dropdown-toggle", `data-toggle`="dropdown",
span(class="user-name", title)
),
tags$ul(class="dropdown-menu",
... |
573d5960b112aca6e826d6575c774ddda6ec7d55 | 29585dff702209dd446c0ab52ceea046c58e384e | /CARrampsOcl/R/setup2.R | 11b4b830aaabc9859c9f6b75fa47009ef8871985 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,173 | r | setup2.R | setup2 <- function(dev)
{
# kronVect 3Q
code2 <- c(
"#pragma OPENCL EXTENSION cl_khr_fp64 : enable\n",
"__kernel void krony3(\n",
"__global double *result,\n",
"const unsigned int count,\n",
"__global double *a,\n",
"__global double *b,\n",
"__global double *c,\n",
"__global double *y,\n",
"const unsigned int acols,\... |
c75b371d35e7bc695dd019674c15c3000e764867 | c094316cfa2cdac816265e40060e3081df9da781 | /USDA_study_area.R | 1871c09c16e04bc2ee6df0d54ea31fd856d4281e | [] | no_license | daniellegrogan/uncategorized | 4c6195b44e0fc850d3c95f807551d6420cf1a9fd | 11be75a8119ffed6b2a9161808807ed0e5b48fb8 | refs/heads/master | 2020-12-11T15:06:25.454636 | 2020-06-02T14:32:13 | 2020-06-02T14:32:13 | 233,880,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,353 | r | USDA_study_area.R | # Map river networks for USDA 2020 proposal
library(raster)
library(rgdal)
library(rgeos)
source("~/git_repos/WBMr/Flowlines.R")
source("~/git_repos/WBMr/mouth_ts.R")
# load network ids
network = raster("/net/nfs/squam/raid/userdata/dgrogan/Proposals/USDA_2020/MinnMetro.asc")
network.id = raster("/net/nfs/squam/raid... |
8004b85785fad3cc20cd218dc4cc2a879692aedf | 4611ebd8786c13281421fb3b5383784d030f1fc1 | /man/getDatasetFields.Rd | 04b97d90a0b129df2a8957ac22254e829fcabbdf | [
"MIT"
] | permissive | jimmyg3g/domorrr | fe2c47b6d470c4991dd8786f4e269f372b5d46d4 | 7ece5b5770eb7954bb5c810c4ea6e14ebaa272d6 | refs/heads/master | 2023-02-05T16:11:20.228142 | 2020-12-24T02:41:14 | 2020-12-24T02:41:14 | 318,340,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 457 | rd | getDatasetFields.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\name{getDatasetFields}
\alias{getDatasetFields}
\title{Get Dataset Fields}
\usage{
getDatasetFields(dataset_id)
}
\arguments{
\item{dataset_id}{Dataset ID to query}
}
\value{
A \code{data.frame} containing the dataset metadata
}
\... |
aebe00158d1f85af708818be471267f30232061c | 372e94189bd746b981723016c9e084f0eb8d4352 | /ml_knn2.R | ce626461b6185136c959e5db298bfe58139ee41f | [] | no_license | iverni/harvardx | ddc73113994ec25eb04fb111e592e0e474be8eb1 | 38db3651e0c58825aadd05ef3000d2fa4884179e | refs/heads/master | 2020-03-23T18:38:23.624438 | 2019-01-14T16:47:13 | 2019-01-14T16:47:13 | 141,921,916 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,158 | r | ml_knn2.R | library(dplyr)
library(purrr)
library(rvest)
library(tidyverse)
library(stringr)
library(dslabs)
library(caret)
library(matrixStats)
#Load the heights data
data("tissue_gene_expression")
#Set a range of k values to find out the max value.
ks <- seq(1, 11, 2)
x <- tissue_gene_expression$x
y <- tissue_gene_expression$... |
7e6208f246a8ba537b4bf989ac13350532e81925 | f79cd4e052c5cbb24e7ef3e4bec1c39f9ce4e413 | /BEMTOOL-ver2.5-2018_0901/src/biol/bmtALADYM/ALADYM-ver12.3-2017_0501/src/saveKobePlot.r | a77f34d0996926f051f3f010fe4ea21502a6410e | [] | no_license | gresci/BEMTOOL2.5 | 4caf3dca3c67423af327a8ecb1e6ba6eacc8ae14 | 619664981b2863675bde582763c5abf1f8daf34f | refs/heads/master | 2023-01-12T15:04:09.093864 | 2020-06-23T07:00:40 | 2020-06-23T07:00:40 | 282,134,041 | 0 | 0 | null | 2020-07-24T05:47:24 | 2020-07-24T05:47:23 | null | UTF-8 | R | false | false | 7,262 | r | saveKobePlot.r | # ALADYM Age length based dynamic model - version 12.3
# Authors: G. Lembo, I. Bitetto, M.T. Facchini, M.T. Spedicato 2018
# COISPA Tecnologia & Ricerca, Via dei Trulli 18/20 - (Bari), Italy
# In case of use of the model, the Authors should be cited.
# If you have any comments or suggestions please contact the follow... |
7aaf9ee9467e753a856a24fbe4d1fbc951969fa1 | f3fc4d3fa2e8e7baa5f2c6aa7bd3190e5e7a08cc | /enrichment.r | ecf8ea1384db784b86948398983f15617fdcef06 | [] | no_license | rameying/Thesis_Files | 916aad74266988ced46614edd6368121c49ca0f3 | ce229e2538a901081187f9b2755dc7744c4a6f32 | refs/heads/master | 2021-12-07T18:10:19.426914 | 2015-12-27T22:37:07 | 2015-12-27T22:37:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,463 | r | enrichment.r | #download gene sets
datasets=function(directory){
#filepath="msigdb/"
file_list=list.files(directory)
#print(file_list)
geneSetMatrix=list()
i=1
for(file in file_list){
tempmaxCol=max(count.fields(paste(directory,file, sep=""), sep="\t"))
#print(tempmaxCol)
tempGeneSet=read.table(paste(directory,file, sep... |
ae1a152a3d899ee3025f6d6711e3998f0ccfe055 | fa1fb90937c883315496ee982a69b29e1f59b485 | /001_ReadRawData.r | cdafb5600115d2dbd22047b67c5bf77b933a1717 | [] | no_license | bishopsqueeze/k_meg | 9a7c60cb7238d8fdca74123685cc39818c6bd71e | 5885cec4904ad949e4a3786f564aa85e8c92a09e | refs/heads/master | 2020-05-01T06:04:54.095492 | 2014-04-27T12:39:29 | 2014-04-27T12:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,338 | r | 001_ReadRawData.r | ##------------------------------------------------------------------
## The purpose of this script is to:
## 1. Simply read the raw data files
##------------------------------------------------------------------
##------------------------------------------------------------------
## Load libraries
##------------------... |
aa6a9cf8e06600cfdeec9fe6d73f143ac9af39e0 | 29cfeb524040f75634db376141b069ffbeb9f893 | /Run.R | c3cfafb63acb95c781852cba4f3ce8037ca88128 | [] | no_license | skywalkerzwj/local-causal-discovery | 04084e88f04e55f9f2de1e105f182e107837ea5a | b94073e59e4c5a9a8ea2c0db37f51073c6e48b25 | refs/heads/master | 2016-08-05T04:06:13.741744 | 2015-08-06T00:42:31 | 2015-08-06T00:42:31 | 39,878,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,430 | r | Run.R | source("function.R")
source("compareResult.R")
# library(foreach)
# library(doParallel)
data_lnc<-prepareData("all",scaling=T,lnc=T)
data<-prepareData("all",scaling=T,lnc=F)
EMT <- readEMT("EMT-35-translated.csv")
EMT <- prepareEMT(EMT,T)
mmpc_local<-local_discovery(data,target="hsa-mir-200a",alpha=0.01,method = "... |
f271af5cabcb90838b0955389493f252a89622bd | 65419bf941e696d9be37e7be6e8b5ed93cde2707 | /R/print.R0.R.R | 7d225bdba745d8e016272987775b00ad3cfb104c | [] | no_license | tobadia/R0 | 52a777a8efb7bdfde386a241dc42fc4ef5d1508e | 14b28a6e94afb68b6cca19f14a494a4c8beabd63 | refs/heads/master | 2023-04-29T01:15:22.248797 | 2023-03-13T12:01:25 | 2023-03-13T12:01:25 | 250,542,462 | 3 | 2 | null | 2023-04-13T08:22:49 | 2020-03-27T13:32:00 | R | UTF-8 | R | false | false | 1,738 | r | print.R0.R.R | # Name : print.R0.R
# Desc : A tweaked "print" function designed to print useful data on R objects
# from any of the supported estimation methods.
# Date : 2011/11/09
# Update : 2023/03/03
# Author : Boelle, Obadia
###############################################################################
#' @tit... |
f0c8617d5f53530210c030b34ab7480854b0c23c | e37c7764ce9056a2577f02c8bb4c987cd9ac20e6 | /R/plotHeatmap.R | acaac6e1ca5a9b0d908aa205bba07fc6a4067619 | [] | no_license | mimi3421/scater | bb8c9c8f9d8dfe94812214471b652d6d52975d97 | e665819cd3964f2c00433ca51ea53b977dfcc72e | refs/heads/master | 2020-06-26T12:53:08.854953 | 2019-07-30T11:46:08 | 2019-07-30T11:46:08 | 199,637,381 | 0 | 0 | null | 2019-07-30T11:20:03 | 2019-07-30T11:20:02 | null | UTF-8 | R | false | false | 6,803 | r | plotHeatmap.R | #' Plot heatmap of gene expression values
#'
#' Create a heatmap of expression values for each cell and specified features in a SingleCellExperiment object.
#'
#' @param object A SingleCellExperiment object.
#' @param features A character vector of row names, a logical vector of integer vector of indices specifying row... |
4abe2676a7642e8dcb04095c2c094b23f014438e | cbeba1052ca315b741882eeb5cbfb04b35d21c14 | /pK184_directional_integration_count_circos_for_publication.R | 8f6bf7ccf625fb45e7b3cf2fdf2cf4f32873f476 | [] | no_license | immunoviraldesign/HIV_in_vitro_integration | 55ee99d997e71d3f397c51aba054e0e871a4e941 | cc7069989fc9b49affb1e5915d99145de3705941 | refs/heads/master | 2022-11-25T01:08:35.388178 | 2020-07-29T16:15:30 | 2020-07-29T16:15:30 | 282,979,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,135 | r | pK184_directional_integration_count_circos_for_publication.R | # Upload library
library(circlize)
library(grid)
# clear variables
rm(list = ls())
#Set as working directory -- Rename as appropriate for file location
setwd("~/Desktop/HIV_integration/Tables/")
#read in data table
#note that excel tables need to be converted to .txt files and with the headings ... |
78214ab79d1d40451967c99423c7503e35120244 | c47619fd21966e935458b5c24c312194d8b825d0 | /get_GDC_project_ids.r | 15f491cf0ef51543a619a666a4aafb82443ab53e | [] | no_license | DrOppenheimer/Kevin_R_scripts | 4543137d343399f1a156d634cd4ab8442a0fd168 | d121284914a98d50308e46d426b0417ef70d40ee | refs/heads/master | 2020-04-12T02:30:27.517905 | 2017-02-28T23:01:30 | 2017-02-28T23:01:30 | 47,999,492 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 648 | r | get_GDC_project_ids.r | get_GDC_project_ids <- function(){
my_projects <- vector(mode="character")
#first_call, get number of projects then make a second to get them all
first_call <- "https://gdc-api.nci.nih.gov/projects"
first_call.json <- fromJSON(getURL(first_call))
number_projects <- first_call.json$data$paginat... |
8e78022e635f3bc6aac2ed75b59b6991ba0d454d | 6824412cf427de215c59d743b970a803587b3ed0 | /SynthETIC/man/get_Weibull_parameters.Rd | 28a4ed728211b0e4a03fe7a847fba97716b103b4 | [] | no_license | minghao2016/SynthETIC | 292969a398ac4541761049cfea22fc07a405989e | ad1692601909d54c0bdb00aef8a361bb5acfefba | refs/heads/master | 2023-04-04T07:11:46.310061 | 2021-04-02T10:20:18 | 2021-04-02T10:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 683 | rd | get_Weibull_parameters.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats.R
\name{get_Weibull_parameters}
\alias{get_Weibull_parameters}
\title{Estimating Weibull Parameters}
\usage{
get_Weibull_parameters(target_mean, target_cv)
}
\arguments{
\item{target_mean}{mean of the target Weibull distribution.}
\ite... |
5bd08479421bc921daab7eb021fada8f815bc98c | 2ec82dd20d0b86e9b37158579ea71495d1e9fb63 | /man/adjacencyMatFromDF.Rd | 5c6981c0a1bf3e5e9e8fa4ae7e4ce3775d6a0cb0 | [
"MIT"
] | permissive | sverchkov/CommunityInference | 92619dfd036c20ec3e9e2d4ce998299fc4212f70 | 1382351bde3597b01516dfde2cabc1323b75f4e9 | refs/heads/master | 2020-03-25T16:19:14.212537 | 2018-08-13T14:40:53 | 2018-08-13T14:40:53 | 143,925,184 | 0 | 0 | MIT | 2018-08-07T20:53:43 | 2018-08-07T20:46:14 | null | UTF-8 | R | false | true | 576 | rd | adjacencyMatFromDF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adjacencyMatFromDF.R
\name{adjacencyMatFromDF}
\alias{adjacencyMatFromDF}
\title{Get an adjacency matrix from an edge data frame}
\usage{
adjacencyMatFromDF(edges, nodes = NULL)
}
\arguments{
\item{edges}{a data frame with columns a, b, and (... |
a2f91b6d8618bc42d3ddfcca9292610eb6c0efc8 | 3e19165859b69351301f683292135cba75549db6 | /Harvard/Stats221/pset3/ykuang_ps3_task2_part2.R | ed6bda5d4e52cc50a637e100d5eb7d7996dde602 | [] | no_license | k-ye/OpenCourses | b084638e212920a831a6baf74d740dd704b9447f | 7ac57b6fbfe1ae574f60378cf15d308e191be3eb | refs/heads/master | 2021-07-04T19:50:34.040105 | 2020-04-05T09:02:14 | 2020-04-05T09:02:14 | 99,991,859 | 27 | 9 | null | null | null | null | UTF-8 | R | false | false | 819 | r | ykuang_ps3_task2_part2.R | # @pre Should create subfiles of "data/" before using
# read args
args <- as.numeric(commandArgs(trailingOnly = TRUE))
if (length(args) == 0) {
args <- c(1e5, 1)
} else if (length(args) != 2) {
stop("Not correct no. of args")
} else {
print("args fine")
}
numData <- args[1]
job.id <- args[2]
source("ykuang_ps3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.