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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30b9b6e29c32675425a82d925a55f6fa9ea16d36 | 1080ae69aa33d9cadbdaad080c6142f10c4ea704 | /cachematrix.R | 4fdaf77c3c79d248e37a0990122c3b31646fc1e4 | [] | no_license | zergood/ProgrammingAssignment2 | e7e7224cb38a228965f07f0fa3ac0f9852dac30e | f7f8dce6988c6a89c5d7456a53c916a2f51041dc | refs/heads/master | 2021-01-18T05:24:23.080023 | 2015-02-19T05:28:22 | 2015-02-19T05:28:22 | 31,001,799 | 0 | 0 | null | 2015-02-19T04:53:33 | 2015-02-19T04:53:33 | null | UTF-8 | R | false | false | 777 | r | cachematrix.R | ## This function creates a cache matrix. This matrix is
# used by cacheSolve method to cache the inverse matrix of it.
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
get <- function() x
setInv <- function(inverse) inv <<- inverse
getInv <- function() inv
list(get = get, setInv = setInv, ge... |
d12f6b7c453f219e3c4f6178f2253bb823a33dc9 | 9fecce6f3ef41202cdcc855f4b0baff36131eacc | /Analysis/old_analysis/VMS/results/2014-07-24/jitter_VMS.R | 6007d1d6866b8a7826142f6e8d6e7208077ca504 | [] | no_license | emfuller/cnh | 0487e9647837d8fc999850b5951ff6331f9a5159 | 8b36faf8c73607d92e59e392fff3c0094b389d26 | refs/heads/master | 2021-05-01T08:02:52.200343 | 2019-04-06T18:25:48 | 2019-04-06T18:25:48 | 28,717,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,790 | r | jitter_VMS.R | # hard code some shrimp vessels. find vessels that do little but shrimp by using FTL tickets to find veids and gear. Any boat that as a grgroup of TWS (shrimp trawl). This can include prawn shrimp, but like, whatever man. (for the moment)
# find shrimp boats
# load data
FTL <- read.csv("/Volumes/NOAA_Data/CNH/Dat... |
5d054f84df48a8c67becf48962cd1c13dccaf91e | 57744ab6fedc2d4b8719fc51dce84e10189a0a7f | /rrdfqbpresent/R/MakeHTMLfromQb.R | 7a37676da88c81b2d780eb9cafef96952e0ada26 | [] | no_license | rjsheperd/rrdfqbcrnd0 | 3e808ccd56ccf0b26c3c5f80bec9e4d1c83e4f84 | f7131281d5e4a415451dbd08859fac50d9b8a46d | refs/heads/master | 2023-04-03T01:00:46.279742 | 2020-05-04T19:10:43 | 2020-05-04T19:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,869 | r | MakeHTMLfromQb.R | ##' Make HTML table representing RDF data cube
##' @param store RDF data store containing cube
##' @param rowdim Row dimensions
##' @param coldim Column dimensions
##' @param idrow idrows
##' @param idcol idcols
##' @param htmlfile path to file with HTML
##' @param useRDFa if TRUE include RDFa markup (default)
##' @par... |
0d30bbf79bf9bc4004de0a8df238d1a5a49ed63c | 1fa7298bebfe9676c1910fefbf2fe38b70b36145 | /Proj2_Q1.r | 65f9334537bc7b2fef5d2269818efe678f218544 | [] | no_license | unmeshphadke/EDA-Coursera-CourseProject2 | da9b32e2bd0e451f6bed4d091c8a03d9606e5dff | 5507936a3ea9cf895577ddf18aaced2e2fa5cc31 | refs/heads/master | 2016-09-05T11:32:54.993973 | 2015-06-27T13:16:11 | 2015-06-27T13:16:11 | 38,110,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | Proj2_Q1.r | library(reshape2)
library(ggplot2)
library(plyr)
library(dplyr)
#The files are assumed to b present in the current working directory in R.
#Reading in the files.
NEI<-readRDS("summarySCC_PM25.rds")
SCC<-readRDS("Source_Classification_Code.rds")
m<-tapply(NEI$Emissions,NEI$year,sum)
df<-data.frame(m,as.numeric(names(m)... |
eacce2165603a2f961b5238f5f4ccdaa30fafe92 | d07d3fb9860333579866a73a9b027b2ef9b5d21c | /R/zi_zipfpss.R | 3ccbefccc6922ef7c77314252faa77f672b17dc5 | [] | no_license | ardlop/zipfextR | ceac463a21c74dcf765af7751dfa50959d215a36 | cf0ec21cd7d6ccb4a81935692b179309922885d4 | refs/heads/master | 2021-06-21T16:35:14.384189 | 2020-05-07T10:20:49 | 2020-05-07T10:20:49 | 98,761,867 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,185 | r | zi_zipfpss.R |
#' The Zero Inflated Zipf-Poisson Stop Sum Distribution (ZI Zipf-PSS).
#'
#' Probability mass function for the zero inflated Zipf-PSS distribution with parameters \eqn{\alpha}, \eqn{\lambda} and \eqn{w}.
#' The support of thezero inflated Zipf-PSS distribution are the positive integer numbers including the zero value.... |
027bdb7d1bb8f328545a3e301d19a5ed54a65671 | 756585020e5b9051fe4ebd4450e81b114fc18d1e | /configuration/rmarkdown/shared_variables.R | 2af422411587a72227238ee73da5a549052dffed | [] | no_license | TheAcetoLab/diamantopoulou-ctc-dynamics | bc70b4445058ca60eb901ce8dd6f7162c0028dff | e3cc57d99de30669acb505180f10287b686ddf93 | refs/heads/master | 2023-04-17T18:38:32.249089 | 2022-06-28T08:59:15 | 2022-06-28T08:59:15 | 485,323,596 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 299 | r | shared_variables.R | key_circadian_genes <- c(
BMAL1 = 'ARNTL',
CLOCK = 'CLOCK',
CRY1 = 'CRY1',
CRY2 = 'CRY2',
PER1 = 'PER1',
PER2 = 'PER2',
PER3 = 'PER3',
NR1D1 = 'NR1D1',
NR1D2 = 'NR1D2',
CSNK1D = 'CSNK1D',
CSNK1E = 'CSNK1E')
use_feature_type <- c('protein_coding', 'lncRNA', 'snoRNA', 'miRNA')
|
345c62a046647bc334820528fc26a067d1144cc9 | ba3e9adb05f6fd7e9dbfb69f608f147a00c149b2 | /lecture/데청캠_동국대/수업/빅데이터 개론 & R/03/day3_실습.R | 87822898b9f2134f41bae343f08b31307a7e652a | [] | no_license | friendly-blackdog/To_FullStack | 193f247429dff935ecfebc2b170937c6f620f89d | 04cdebadd8214b84f6d7e8fe3021dcf80eb98244 | refs/heads/master | 2022-11-26T01:31:45.948805 | 2020-08-04T13:01:42 | 2020-08-04T13:01:42 | 258,123,053 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,866 | r | day3_실습.R | library(readxl)
exam <- read.csv("csv_exam.csv")
exam
head(exam)
tail(exam, 10)
tail(exam)
View(exam)
dim(exam)
str(exam)
summary(exam)
# ggplo2의 mpg 데이터를 데이터 프레임 형태로 불러오기
mpg <- as.data.frame(ggplot2::mpg)
head(mpg)
tail(mpg)
View(mpg)
dim(mpg)
str(mpg)
library(dplyr)
df_raw <- data.frame(var1 = c(1,2,1),
... |
88e2f007c56a40f960e7a8591802266160e9db56 | fef283e0284fe54beae26cb4145b6314c6858727 | /man/put_imageset.Rd | 974283efcd1142c1b19115ad97cbbee343f3ae30 | [] | no_license | hadley/rifftron | f76c4b1b2f04cb8611182b360b5b5e10803abb66 | b67a740d289eb0f04bc892603914f75dcf8c9154 | refs/heads/master | 2021-01-13T01:55:03.798989 | 2014-03-12T14:30:12 | 2014-03-12T14:30:12 | 17,642,261 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | rd | put_imageset.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{put_imageset}
\alias{put_imageset}
\title{PUT an imageset.}
\usage{
put_imageset(project, set, path, key = api_key())
}
\arguments{
\item{project,set}{Name of project and image set}
\item{path}{character vector of images to upload}
\item{key}{difftron a... |
5dff16146f0e70917c0951cb9f878c6ebd0fa150 | bd34186a17415b174073bbb3f2d2e8054f845ccc | /data/sample-laser-radar-measurement-data-1.out.txt.R | ee827fe8d05b4c3cb6b6baa920194f2ce2e48076 | [] | no_license | binliu-base/T2P2-CarND-Unscented-Kalman-Filter | 446ca2f32564fbaebc913d21dc6a520977c8d582 | 3d1c6b252c96c34a36bd7ab3ba4b6fd5e04e2827 | refs/heads/master | 2021-01-19T02:46:24.678760 | 2017-04-15T15:23:08 | 2017-04-15T15:23:08 | 87,291,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 69,839 | r | sample-laser-radar-measurement-data-1.out.txt.R | type px py v yaw_angle yaw_rate vx vy px_measured py_measured px_true py_true vx_true vy_true NIS
R 8.46292 0.243462 3.04035 0.0287681 0 3.03909 0.0874531 8.46292 0.243462 8.6 0.25 -3.00029 0 0
R 8.47496 0.248178 1.81352 0.0196726 -0.000786221 1.81317 0.0356745 8.56759 0.241943 8.45 0.25 0 0 3.04699
R 8.36251 0.249987 ... |
4ea43fee62180182dfd87352c1e293c931f1ee50 | cf93c2cbb6d4889a71416a5b45b27d9ac1fae9e6 | /cachematrix.R | 92fdabe39df4b3f3cf44087cd4391d96298c64b2 | [] | no_license | singh-manish/ProgrammingAssignment2 | 1eb059465a3a0e3df4b4ba0819a81e3745583e3c | fc0609c6c62261c9466e447cebbd8c0626ef665e | refs/heads/master | 2021-01-18T15:01:52.282874 | 2014-12-22T09:39:50 | 2014-12-22T09:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,693 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
##
## Matrix inversion is usually a costly computation and there may be some benefit to caching the inverse of a matrix rather than computing it repeatedly
## These functions are pair of functions that cache the inverse of a matrix.
##... |
0aae0e3bfc2394b0a4f8881416c4b02ce8cec732 | 77f1b2b22ae46e2785d9bd57b8d18ff7e51242b5 | /WebGUI/CPTMLTools/EECalc/eeCalculate.R | 4afd4dd5174dfdddf62f1130e2f5147d3f3449e3 | [
"BSD-2-Clause"
] | permissive | muntisa/RMarkovTI | 6e4c93797a217bfe1253a539daf61010c1bb6445 | 61dc489de1b22b8889a4ce91516cdaae8e0b9cab | refs/heads/master | 2021-01-01T04:46:56.066730 | 2018-04-04T14:47:14 | 2018-04-04T14:47:14 | 97,241,653 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,674 | r | eeCalculate.R | library(ChemmineR)
library(base)
library(expm)
library(MASS)
library(openxlsx)
source("F:/CPTMLTools/EECalc/RMarkovTI_functions_VPCR.R")
args <- commandArgs(TRUE)
fileInput = args[1]
resultFile = args[2]
minTime = as.numeric(args[3])
maxTime = as.numeric(args[4])
stepTime = as.numeric(args[5])
min... |
cab999b8b21bd7c1ba0a3acd1908fdaf9d02a978 | c686e4be025390cf6b9bc2991ba2c34c644bc3cc | /GLM_01.R | dad3253fa2d2b77e19474a49eb18d22ce9928772 | [] | no_license | gargass/GLM | 5b6a035d880f0ddffefacd37c460c67b5655df80 | 9c43d0dd67c5ba3e7e6fa0f64330b673cfaa96d1 | refs/heads/master | 2021-01-10T11:14:47.051102 | 2016-01-25T18:44:16 | 2016-01-25T18:44:16 | 50,208,762 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,739 | r | GLM_01.R | x<-c(1,2,3,4,5,6)
y<-c(1,1,1,0,0,0)
model<-glm(y~x, family="binomial")
model
summary(model)
model$iter
n<-25
n<-c(25, 50)
y<-c(10, 20)
curve(x, x^y[1]*(1-x)^(n[1]-y[1])*x^y[2]*(1-x)^(n[2]-y[2]))
logL<-function(p, n, y){
choose(n, y)+y*log(p)+(n-y)*log(1-p)
}
p<-seq(0,1,length=100)
logL(p, n[1], y[1])
plot(logL(... |
d3c78e28582ae8ed9a042bbf4fec41d0383e39b4 | d94071bc2582fc209e4974ac0cd93a7a9227982f | /cachematrix.R | f4d9414abb7b4c5745aa6c21277594b567f2bc69 | [] | no_license | Skrie/ProgrammingAssignment2 | 4832010a4e68b3259624a2295c6179d7ce12af2a | e53058ee1a3d57c00249d7d70667570ccad6f608 | refs/heads/master | 2021-01-13T04:14:42.779007 | 2016-12-28T20:33:32 | 2016-12-28T20:33:32 | 77,485,411 | 0 | 0 | null | 2016-12-27T22:08:35 | 2016-12-27T22:08:34 | null | UTF-8 | R | false | false | 2,251 | r | cachematrix.R | ## The functions makeCacheMatrix and cacheSolve are used to create a matrix, calcualte the inverse of that matrix
## and then caches the inverse of that matrix. makeCacheMatrix provides a list of functions that can be used to get
## and set a cached matrix and its inverse. cacheSolve retrieves and returns an inverse m... |
d687071ad812dfe2ba9a797b84999dbdaac74c99 | 6feee0acceea5634d6d3f87a4a49f02ac8aebe99 | /simulations/popFunctions.R | 4725f52209f9a3c8202638a867dfdf937e940ff4 | [
"MIT"
] | permissive | sjpeacock/OsterBou-pop | a54879c619af15dbebd8f0ef71aaae98fafbcbc4 | 52ae2fe33b13026c7dae3750c3750b9940099449 | refs/heads/master | 2023-04-10T10:34:04.961913 | 2022-06-13T03:05:49 | 2022-06-13T03:05:49 | 502,785,749 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 20,704 | r | popFunctions.R | ###############################################################################################
# Scenario for proportion inhibiting
###############################################################################################
pArrestCalc <- function(scenario){
if(scenario == 4){
pIn <- c(rep(1, 109), 1/(1 + exp(... |
1bf8f9300621356835cc799eafb94d67f22328cc | 5e94b522bd93166db71ffe6b214edb3daa706908 | /Materiell fra tidl semestre/scripts/Seminar2.R | 762abab1f6f97d789fae051e2dec5ca6ebe15ce2 | [] | no_license | liserodland/stv4020aR | c3411a6a61f0e1dcdab1f6d7577ae707b86100d0 | 78cd1fade56c05c55cc86dd9adcb72f77a9884d3 | refs/heads/master | 2023-08-05T04:26:54.567357 | 2021-09-10T10:42:10 | 2021-09-10T10:42:10 | 288,154,313 | 0 | 7 | null | 2020-08-17T10:47:59 | 2020-08-17T10:47:58 | null | UTF-8 | R | false | false | 4,379 | r | Seminar2.R | #################################
#### R seminar 2 ####
#### STV 4020A ####
#################################
## I dette seminaret skal vi gå gjennom:
## 1. organisering av R-script
## 2. Import av data
## 3. regresjonsanalyse
## Hovedfokus blir på arbeid med regresjon
## Fjerner objekter f... |
fd4c0669dff73feb56bd4d192b66ef9dfb44eab1 | 627111cb72b2d1f4df38e1170b8e556b19395a44 | /ribiosPlot/man/pcLabels-PCAScoreMatrix-method.Rd | 2211a34ddeb619b1b3fca8d8c9297276d2b8b14c | [] | no_license | RCBiczok/ribios | c387a4fa3daec8bbdaf86fc7d233afdf1835d1da | 8fe6eb6b33e6065fa710906d0ee4a7c1a8540a74 | refs/heads/main | 2021-06-18T13:43:33.184416 | 2018-11-12T23:06:33 | 2018-11-12T23:06:33 | 133,314,150 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 508 | rd | pcLabels-PCAScoreMatrix-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllMethods.R
\docType{methods}
\name{pcLabels,PCAScoreMatrix-method}
\alias{pcLabels,PCAScoreMatrix-method}
\title{Labels of principal components}
\usage{
\S4method{pcLabels}{PCAScoreMatrix}(object, variant = c("compact",
"full"))
}
\argume... |
64313975f2b9c2516a0fc6fabf366e8a600296f6 | 6125f56ef5651c81bfbe85eebccc05c81f49398c | /R/rao_chr22_rep.R | 6e067dc2fba56b30b9ab7390519641e91e9c3e78 | [
"MIT"
] | permissive | dozmorovlab/TADCompare | 87612572160b43d754b1444f0357135d2d3965ed | f1b61b789eb6717ce9397cbe059b9f0f721d2bb1 | refs/heads/master | 2022-05-13T20:31:58.255606 | 2022-04-25T01:13:55 | 2022-04-25T01:13:55 | 207,209,435 | 19 | 2 | null | null | null | null | UTF-8 | R | false | false | 321 | r | rao_chr22_rep.R | #' Chromosome 22 combined intrachromosomal replicate contact matrix from
#' Rao et al. 2014.
#'
#' A 704x704 contact matrix from the GM12878 cell line (50kb Resolution)
#'
#' @format A data frame with 704 rows and 704 variables:
#' @source \url{https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE63525}
"rao_chr22_rep... |
cc1c4ee8442ec57a53339839be83eff5e6b199c6 | ecb1d037e50203f2e5e79da0d845598c5b6cdd99 | /man/optimization_lambda.Rd | 6aa1d1885f0ab67eb086982d2ef167502ee8da36 | [] | no_license | Z1chenZhao/bis557 | 59669f343f9764ba6aa4c132dfefe1d4eba0b8ab | b9c1f1d2fc60ec23d2ec18f274fe743769477ab3 | refs/heads/master | 2023-02-01T00:36:18.885873 | 2020-12-18T19:45:21 | 2020-12-18T19:45:21 | 296,169,783 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 676 | rd | optimization_lambda.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/optimization_lambda.R
\name{optimization_lambda}
\alias{optimization_lambda}
\title{optimization_lambda}
\usage{
optimization_lambda(
form,
dat,
folds = 10,
lambdas = seq(0, 1, 0.1),
contrasts = NULL
)
}
\arguments{
\item{form}{A fo... |
654db3bee4cb903e74dc819429631ceb46594e93 | d98b7d973db4770b573ffcf2e61a37ffa74ecb21 | /walmart/stack_models/layer2_stack_v7.R | 451d633245b9e72e6a822600d9d3e875e687c474 | [] | no_license | brandenkmurray/kaggle | a27a85f172c5ecd58d9fc58219b3e31400be597e | 30924c37e15772b6e7125b341931d7c775b07d0b | refs/heads/master | 2021-01-10T14:18:07.768888 | 2017-08-29T00:20:48 | 2017-08-29T00:20:48 | 44,857,026 | 30 | 17 | null | null | null | null | UTF-8 | R | false | false | 3,033 | r | layer2_stack_v7.R |
# Load CV predictions from models
# xgb1preds <- read.csv("./stack_models/cvPreds_xgb1.csv")
xgb2preds <- read.csv("./stack_models/cvPreds_xgb2.csv")
xgb3preds <- read.csv("./stack_models/cvPreds_xgb3.csv")
xgb7preds <- read.csv("./stack_models/cvPreds_xgb7.csv")
kknn1preds <- read.csv("./stack_models/cvPreds_kknn1.c... |
a8b75679c536505c5a56029c3bf0ad327ad9a8c3 | fc70b4b8f15ec7062ad57714ad81441015b559b8 | /inst/app/server/optimisation/target.R | 9f6c74ce735633a08b4d6fb31362d28ebbe213f8 | [] | no_license | jackolney/CascadeDashboard | 02aa85dc78e6ab916ba6e01328b45f483d81b0c0 | 25e29abd233ba365501900c800f81ae0beadc0c6 | refs/heads/master | 2020-07-07T05:58:55.039907 | 2017-04-04T07:58:23 | 2017-04-04T07:58:26 | 66,279,770 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,696 | r | target.R | # custom will be the editable target that will re-generate
# optimisation results
custom <- reactiveValues(target = 0.9)
# slider UI
output$UI_909090_1_slider <- renderUI({
sliderInput(inputId = "slider_909090_1", label = NULL, min = 0, max = 1, value = 0.9, step = 0.01, round = FALSE, ticks = FALSE, width = NULL... |
ba57d41ad411d0739057a685f95f8282c59adfd0 | 7f25ad3bbea7b9c152911735c4b20666f9433b3f | /devtoolsintegrateit/integrateIt/man/Simpson.Rd | 781cf3d99963b58110e7418a4e561d99b99168f8 | [] | no_license | benjaminschneider212/PS5 | 44acb31c25ee5b359bc265b82aa7e5f19a075826 | e2f7b2aade542ef2a9307f88c93cf509dd283ebe | refs/heads/master | 2021-01-25T12:36:24.375006 | 2018-03-16T18:25:57 | 2018-03-16T18:25:57 | 123,482,467 | 0 | 0 | null | 2018-03-01T19:28:13 | 2018-03-01T19:28:12 | null | UTF-8 | R | false | true | 568 | rd | Simpson.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Simpson-class.R
\docType{class}
\name{Simpson-class}
\alias{Simpson-class}
\alias{Simpson}
\title{An object with two vectors of Class Simpson}
\description{
Object of class \code{Simpson}
}
\details{
An object of the class `Simpson' has the f... |
6802acfbf7a93e6a45384d8fb77e6b82f28f6682 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GLDEX/examples/fun.nclass.e.Rd.R | ad1c54320d1362bd33464593b253a3725a2b888f | [] | 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 | 293 | r | fun.nclass.e.Rd.R | library(GLDEX)
### Name: fun.nclass.e
### Title: Estimates the number of classes or bins to smooth over in the
### discretised method of fitting generalised lambda distribution to
### data.
### Aliases: fun.nclass.e
### Keywords: univar
### ** Examples
fun.nclass.e(rnorm(100,3,2))
|
d435c794823e3821906bef1be9d54b4363e16dc5 | 47ad4ea71e27ea8ed368174ef1ae2e8811eed71f | /R/tseg.R | 0b6bda1b2562b9f1cd3e20d2290604f99fc8b5f6 | [] | no_license | cran/artfima | aa85e2dff332d12f97cb8a294ec59479082460e5 | 7466a702ce4cf2c9b38414d49bebcc097fbd04b1 | refs/heads/master | 2021-01-21T04:41:34.594119 | 2016-07-14T00:28:43 | 2016-07-14T00:28:43 | 48,076,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,283 | r | tseg.R | tseg <- function(n, which=c("BJAR2","BJAR1", "BJAR3", "PWAR4",
"BJARMA11", "MHAR9", "NileMin", "SB32")) {
which <- match.arg(which)
ans <- switch(which,
BJAR1 = (1.17/(1-0.87)) +
arima.sim(model=list(ar=0.87), n=n, sd=sqrt(0.09)),
BJAR2 = (14.35/(1-sum(c(1... |
21df373f19696f03a6ef4f15201ec65dbcf7b8c6 | c3edcbba1d73eda7aeca6a9459911c8ead348a89 | /Logistic regression models - ARMITX data.R | 240afed7e48e507d7a4dbdfa9f915cbe932d447d | [
"MIT"
] | permissive | schrawj/GOBACK | 33f200159531008443f5df140a60c8a6b2a1f454 | c6aafcf5d874e44936a9bb0c5bf285f9adf7ae09 | refs/heads/master | 2023-06-22T03:44:19.194000 | 2023-06-13T14:18:51 | 2023-06-13T14:18:51 | 124,277,679 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,211 | r | Logistic regression models - ARMITX data.R | #'-------------------------------------------------------------------------
#'-------------------------------------------------------------------------
#' GOBACK logistic regression modeling
#'
#' Discussed initial modeling approach at meeting on 10/23/2017.
#'
#' Will generate a table of logistic regression models f... |
427b827c2b706a0c2cdf6db97653064bf2e17275 | 062a1c2dce842f8a75841e18f74110becb4dc7c2 | /Data Science Specialization - JHU/7. Practical Machine Learning/quiz2_practical_ml.R | 0c5c52309388b35f352d1280d61cb1facacdb6a6 | [] | no_license | MaazAmjad/MyDataScienceMasters_2015-16 | a976abd221ece6b41816735ce80c8143276bf5bb | c69a3faebb1e9967fe4a8d8cfce363eecd215c96 | refs/heads/master | 2020-11-30T03:58:21.347882 | 2016-05-19T15:37:15 | 2016-05-19T15:37:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,618 | r | quiz2_practical_ml.R | # Question 1
library(AppliedPredictiveModeling)
library(caret)
data(AlzheimerDisease)
adData = data.frame(diagnosis,predictors)
testIndex = createDataPartition(diagnosis, p = 0.50,list=FALSE)
training = adData[-testIndex,]
testing = adData[testIndex,]
adData = data.frame(diagnosis,predictors)
trainIndex = createDataP... |
8f917cf4e99ce8b638678a0b91e97eaa3aea1f56 | 00e4b920da382cbd44767e05684f557478b98eaf | /EDA/NA-string check.R | c75e37c060f80fca4ad9e7c7970fb988c72af5c9 | [] | no_license | shenzijian/Prediction-of-Hospital-Readmission | e2f64f7085a8fce9d0e2e9b408997a4fc6b9a7d4 | 501a6fc23c5114a9295031ad1929d96a8d3280c0 | refs/heads/master | 2020-08-22T00:47:43.287934 | 2019-10-21T18:18:15 | 2019-10-21T18:18:15 | 216,283,984 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,100 | r | NA-string check.R | setwd("~/Desktop/UMD/课程/第二学期/758T/Project Files")
######check NA string distribution##########
hos_whole <- read_csv("Hospitals_Train.csv")
hos_whole <- hos_whole[1:38221,]
##read valuable row and turn problematic values to NA
na_strings <- c("Unknown", "Declined to Answer","","#N/A","5 Purple","#VALUE!",'Expired','... |
2f22398a5184ba52c25646b39bcaa8381dba51ee | 3ed36c82ca3a4fea44a7bab117a2c46a22894e7f | /R/psychometric.R | 05a8b8d2eec21cdae72d34b9c5333a8b127f3f97 | [] | no_license | ccamp83/mu | 816d899b0e4491ae0aaaee40f25f33cceb2196aa | e57980c98e293bd27f5cc3bc04f8976798f3f00d | refs/heads/master | 2023-08-31T14:27:30.922366 | 2023-08-29T12:34:19 | 2023-08-29T12:34:19 | 124,022,647 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,292 | r | psychometric.R | #' @export
psychometric <- function(model, alpha = 0.05, lme4 = F){
if(lme4 == F){
pse <- -model$coef[1]/model$coef[2]
BETA <- model$coef[2]} else {
# if extracting form mer, check lme4 version!
fixed.par = getME(model, "beta")
pse <- -(fixed.par[1]/fixed.par[2])
BETA <- fixed.p... |
2f7583c85d0cae6e71f9b445d7f173bd5c16f242 | 15fe06f49cbeb087c03bf8b743f18bce470e8cb0 | /search.R | c7f0d7b54eacba295dd7c989f5a418ab0f804bfd | [] | no_license | PranavKrishnan1/assignment_3 | 8555a791b859402d21c790846adfd99c50a2d9a9 | a3cf092805357f28695145c07f14544fcdb12f1a | refs/heads/master | 2022-04-09T03:39:47.965388 | 2020-02-26T04:52:36 | 2020-02-26T04:52:36 | 243,171,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 383 | r | search.R | #[1] "rlist" "gtools" "seoR" "devtools"
#[5] "usethis" "stats" "graphics" "grDevices"
#[9] "utils" "datasets" "methods" "base"
x = "zoho"
p=c()
m=c()
for (i in 1:26){
y = paste(x,intToUtf8(96+i),sep = " ")
p[i]=(googleSuggest(y))
}
p[[2]]
for(i in 1:26){
print(p[[i]])
write.table(... |
08fc27785446e1b0d8ea70501a7205830b222e04 | 8591c35b0ed4035aee8b174fb003965dc0709031 | /reeflandarea/3-extract_reef_area.R | 51506a15a733d663ecf46a0aa26dcd5912846c42 | [] | no_license | ultimatemegs/msec | ad713d47caad0a712448c410b5eac9597e9006ff | 576c3c842327198538c3e6cf8b82ec5cda555174 | refs/heads/master | 2020-03-23T14:13:48.590647 | 2017-05-09T13:53:16 | 2017-05-09T13:53:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,506 | r | 3-extract_reef_area.R | # Produce rasters of reef area within 15km and 200km of marine grid cells
library(raster)
library(rgeos)
source("utils.R")
reef_dir <- "{{Insert path to Reefs at Risk raster}}"
# Load coral reefs layer
reefs <- raster(file.path(reef_dir, "reef_500"))
projection(reefs) <- "+proj=cea +lon_0=-160 +lat_ts=0 +x_0=0 +y_0... |
107858ac98ab7583e1e96bb85d47cf220a7ade8c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PairedData/examples/mcculloch.Var.test.Rd.R | 81b6630dfb56b07abce694e830c1f68d836c4c14 | [] | 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 | 512 | r | mcculloch.Var.test.Rd.R | library(PairedData)
### Name: mcculloch.Var.test
### Title: McCulloch test of scale for paired samples
### Aliases: mcculloch.Var.test mcculloch.Var.test.default
### mcculloch.Var.test.paired
### Keywords: htest
### ** Examples
z<-rnorm(20)
x<-rnorm(20)+z
y<-(rnorm(20)+z)*2
mcculloch.Var.test(x,y)
p<-paired(x,y)... |
7c79caaf99d95b682783f24822cb49afcd910ffb | d96889f52ab75b0e99e1cd308ac3cfda531e8f78 | /R/fig07_01.R | 1e9768a4d427f479b440357394129aa13b67a64b | [
"MIT"
] | permissive | enguang2/stan-statespace | ce39eea82b6461a56795fc2960cc7677db3539db | 5175c83aaf2197d2f33024eea04e8d81c8d4dcdb | refs/heads/master | 2022-11-22T22:35:23.308194 | 2020-07-12T23:18:32 | 2020-07-12T23:18:32 | 278,282,945 | 0 | 0 | MIT | 2020-07-09T06:34:25 | 2020-07-09T06:34:24 | null | UTF-8 | R | false | false | 1,490 | r | fig07_01.R | source('common.R', encoding = 'utf-8')
## @knitr init_stan
y <- ukdrivers
x <- ukpetrol
w <- ukseats
standata <- within(list(), {
y <- as.vector(y)
x <- as.vector(x)
w <- as.vector(w)
n <- length(y)
})
## @knitr show_model
model_file <- '../models/fig07_01.stan'
cat(paste(readLines(model_file)), sep = '\n'... |
7f9a92a94bab3d120b41f457aae23df304611f5a | b92e6db7366fad56763e199ca312c67b8fe9a6d8 | /man/rmd_code_block.Rd | 8e6f2f5ab3e770d5b18646267d55990feec23654 | [
"MIT"
] | permissive | nemochina2008/spAddins | 52e0ba73bbe27e5b3a9150b19c0f843116663b87 | f9de69203760b692e9fa571a85cd0304e146f361 | refs/heads/master | 2021-07-16T11:11:12.615231 | 2017-10-14T13:24:53 | 2017-10-14T13:24:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 692 | rd | rmd_code_block.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/insert_code_block.R
\name{rmd_code_block}
\alias{rmd_code_block}
\alias{rmd_r_code_block}
\alias{rmd_code_block}
\title{Convert rows into the block of code}
\usage{
rmd_r_code_block()
rmd_code_block()
}
\description{
RStudio addin to insert ... |
90f902570ea5e12791001f6c7335c628e729861a | 8ea31acfbb23dfaef5856e20176f5884efcdde74 | /PTMC/DEG analysis with TRAPR.R | 349e9ad5e8c009ed203a482647ab38e510d25e4d | [] | no_license | gnsljw/Research | 5977bc1af9d397577ec8cd47a2770030a06038a5 | 237742f623f1b9c13f7cca9106aa571fbb5c45d9 | refs/heads/master | 2016-09-15T22:11:39.755084 | 2015-02-26T05:19:43 | 2015-02-26T05:19:43 | 23,687,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,187 | r | DEG analysis with TRAPR.R | source('TRAPR_Code.R')
ls()
PTMC <- TRAPR.Data.ReadExpressionTable('(1) PTMC(36)PTC(450) All gene symbol.txt', Exp1 = c(1:36), Exp2 = c(37:486), Tag = c('PTMC', 'PTC'))
str(PTMC)
TRAPR.DataVisualization(PTMC, 'box', logged = F)
TRAPR.DataVisualization(PTMC, 'DS', logged = F)
TRAPR.DataVisualization(PTMC, 'MA', logged... |
c82cf47625ea3104f8f083e9981ce01fc321ebbc | c4d6ad3fe0fdce49bb95f91e633fca14991cf47b | /R/scheffer.R | d3ec7d45dc601a5809de585e1a9d46a37f05eb87 | [] | no_license | HankStevens/primer | cbe56ce731ba47e056ad0eb6aa184ffb7d840239 | 945f7bb511314d4c9f6240d8f8b1ea57e5da0baf | refs/heads/master | 2021-09-11T00:24:56.465932 | 2021-08-27T19:17:12 | 2021-08-27T19:17:12 | 290,855,188 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,833 | r | scheffer.R | #' A resource-based model of alternative stable states
#'
#' A model of floating vs. submerged plant dominance in shallow aquatic
#' systems, after Scheffeer \emph{et al}. (2003). For use with \code{ode} in
#' the \code{deSolve} package. Floating plants are better competitors for
#' light, as long as submerged plants... |
672d120dcf024caf25eb12154e6a0240015d6b82 | 0124b6a02692905922a3a8992cb123bb8e039e6b | /computeEntropyFromAlignedFasta.R | 7aed4a4018391dec2b6b3b84b2217cf322c438ef | [
"MIT"
] | permissive | pedlefsen/hiv-founder-id | ebcadf9563549fb9932237e148a0c93609d856f3 | 50ba8d2757cb3be15357b4bdeaea3fe0d2680eea | refs/heads/master | 2020-12-24T05:58:03.939103 | 2019-07-07T21:36:09 | 2019-07-07T21:36:09 | 42,635,031 | 3 | 3 | MIT | 2019-02-08T12:36:25 | 2015-09-17T04:32:20 | R | UTF-8 | R | false | false | 5,543 | r | computeEntropyFromAlignedFasta.R | library( "ade4", warn.conflicts = FALSE ) # needed by something. ape?
library( "ape" ) # for "chronos", "as.DNAbin", "dist.dna", "read.dna", "write.dna"
library( "seqinr", warn.conflicts = FALSE ) # for "as.alignment", "consensus"
library( "entropy" );
# This computes the consensus of the given alignment, writes it t... |
05450b00bf173483fbbc68979f7d834df158d56a | 3f93c5dd6d33378299657cec6d3f7ae23889d380 | /plot2.R | 8e831d0397c648b7dce79e4bb95de25bc9fbddd6 | [] | no_license | data-sci20/ExData_Plotting1 | ce77a8a2813aa856fa6a964a361fc22ac3f1d6a5 | d3a19b1775394e7c40e575adbaa66966ab87fbba | refs/heads/master | 2022-11-17T15:20:24.158946 | 2020-07-14T05:14:02 | 2020-07-14T05:14:02 | 279,482,984 | 0 | 0 | null | 2020-07-14T04:38:00 | 2020-07-14T04:37:59 | null | UTF-8 | R | false | false | 735 | r | plot2.R |
classes = c( rep("character", 2), rep("numeric", 7) )
df <- read.table( file = "household_power_consumption.txt",
header = TRUE,
sep = ';',
na.strings = "?",
stringsAsFactors = FALSE,
comment.char="",
colCla... |
284bd9484adfb8836a0116d041d14d1716effe76 | c9bcc781570a06baad3c96f5a19b5bd60094a17b | /Kodak Sentiment.R | 3985cbeeda40ea3fa127d127da45cf08f7d0690d | [] | no_license | jtarnowski18/ScienceScholars | e76141e5ee7fb46d425c7e3fa91f414421a4ca01 | 7a324e29cd909dbbaa48850f6408180fa1860b01 | refs/heads/main | 2023-01-23T16:11:19.765957 | 2020-12-06T22:02:18 | 2020-12-06T22:02:18 | 319,139,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,545 | r | Kodak Sentiment.R | require(ggplot2)
require(stringr)
require(tidyverse)
#Sentiment Analysis Function
Companies_Sentiment <- function(string){
string <- replace_emoji(string)
#Split the string at each space
string_sep <- as.data.frame(str_split(string = string, " "))
#change the name of the resulting column to ... |
99f8f5662e8ee594e3151295650c43481f9d78d8 | 8866b741411e2edfa61972369143de26fde5f821 | /R/MMInfKK.R | 3941f61666a251c62dd45909c5e143c48aa6859b | [] | no_license | cran/queueing | 6232577c0eb67cae7c716ef1432cc54194fb26d4 | 7712782a0d82d73599f128f68e94536b0cf8d4e5 | refs/heads/master | 2020-12-25T17:36:19.513391 | 2019-12-08T21:10:02 | 2019-12-08T21:10:02 | 17,698,913 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,304 | r | MMInfKK.R | ############################################################
############################################################
## MODEL M/M/Infinite/K/K
############################################################
############################################################
NewInput.MMInfKK <- function(lambda=0, mu=0, k=1)
... |
1024579da7845d651706a8772fb4865cf521fd03 | b73ba9d91f872931cbf88d50999411c0bb7c211e | /code_development/tests.R | 3dd4fefa822427d6de38611d72819e13d86d61b7 | [
"MIT"
] | permissive | weecology/portalcasting | 73347ce66f8c1e5c080a1f1029ec17026c912588 | a35a77214d41dbdaa50bb39452b5fe49c3763a83 | refs/heads/main | 2023-08-20T12:48:59.392495 | 2023-05-23T01:16:33 | 2023-05-23T01:16:33 | 129,144,321 | 8 | 12 | NOASSERTION | 2023-05-23T01:16:34 | 2018-04-11T19:34:03 | R | UTF-8 | R | false | false | 787 | r | tests.R | devtools::test(filter = "00")
devtools::test(filter = "10")
devtools::test(filter = "11")
devtools::test(filter = "12")
devtools::test(filter = "20")
devtools::test(filter = "21")
devtools::test(filter = "22")
devtools::test(filter = "23")
devtools::test(filter = "24")
devtools::test(filter = "25")
devtools::test(fil... |
6904d392bceb71fc6b07389aec20625cc1b3337f | f42b0f80be58ebd5cf581fb662bc12953739a0a7 | /workstation/R/example_run.R | f3cbd44791a220fdfeeb731e4bd4493eb4295d25 | [] | no_license | UniK-INES/ines-cluster | 45d023f0623cb3825053fb15d78ba0fad51ff9f3 | 840a03f28faf25766c547abb1f2be528bbe864c8 | refs/heads/master | 2023-07-02T10:01:38.785146 | 2020-11-28T15:30:07 | 2020-11-28T15:30:07 | 278,318,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,113 | r | example_run.R | require('ssh')
require('readr')
# Full path to your simulation directory
sim_path <- "/home/chh/ines-cluster/workstation/R/testsim"
# Name of the simulation
sim_name <- basename(sim_path)
# Executable in simulation directory. Something like "java .." is possible too.
sim_cmd <- "cmd"
# Range of nodes that should run ... |
c113fb3e21a3c2e08506a1b602ac9f1855415c94 | 33c29c05e7a9c0e90ed027c86466b6c2ff51f1c5 | /Imputation_VI_Functions.R | 6e46b3f91a6907044f288ec58d622993f5ec271a | [] | no_license | AndrewjSage/Imputation_Variable_Importance | c95b5beafd391fd2d53c62c60c653f780844dbd9 | 193b97f76a82ea529b26c0ee8973dbddaa783304 | refs/heads/master | 2021-05-08T17:17:51.471301 | 2019-12-17T04:30:22 | 2019-12-17T04:30:22 | 120,190,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,727 | r | Imputation_VI_Functions.R | #setwd("/work/STAT/ajsage")
#Load Packages
library(randomForest)
library(randomForestSRC)
library(CALIBERrfimpute)
library(mice)
library(MASS)
#function to generate data for simulation described in paper
Generate_Sim_Data <- function(rho, size=1000, simsetting=1){
Sigma <- matrix(rho, nrow=6, ncol=6)
Sigma[1,1] <... |
cc79b77c755d2165f015e7ba8ec44aa7d8c9bfe7 | c49aa09f1f83ee8f8c9d1e716ae38381ed3fafca | /feature_selection/ex_8/de8_2_2.R | 724d7b23374149ce14b9b4846b0b296f6bfb7360 | [] | no_license | whtbowers/multiomics | de879d61f15aa718a18dc866b1e5ef3848e27c42 | 81dcedf2c491107005d184f93cb6318865d00e65 | refs/heads/master | 2020-04-11T03:25:40.635266 | 2018-09-24T08:51:06 | 2018-09-24T08:51:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,995 | r | de8_2_2.R | setwd("/home/whb17/Documents/project3/project_files/feature_selection/ex_8/")
library(limma)
library(heatmap3)
library(SNFtool)
library(glmnet)
set.seed(12)
#df.gene.body <- read.csv("../../data/ex_8/gene_train_body.csv", header=TRUE, row.names = 1) # Protein test/train set
df.prot.body <- read.csv("../../data/ex_... |
9bd42a240ec3950bb3dda09b3931c72dd6e342c5 | 976115badd0ab44f6f4313f6abbdbfade86a4222 | /R/tabItem.R | aa7e9f9e0fab2f0b702845bf4e6f128cea3ec4fa | [] | no_license | ValeriaNiceria/operDash | fc10c099231271e9d5bf9e10294536d1b4db1534 | 27792aece56b17c8dbfcc2f093eb176c4b8754b6 | refs/heads/master | 2020-06-03T02:19:20.100745 | 2020-01-17T19:48:38 | 2020-01-17T19:48:38 | 191,392,514 | 8 | 0 | null | 2020-01-17T19:48:39 | 2019-06-11T14:48:00 | JavaScript | UTF-8 | R | false | false | 1,073 | r | tabItem.R | #' @title tabItem
#' @name tabItem
#'
#' @description Função responsável por agrupar conteúdos que serão exibidos no corpo da página.
#'
#' @param tab_name Um nome para o tabItem o mesmo nome deverá ser informado no \code{sidebarItem} ou \code{sidebarSubItem}.
#' @param title Um título para o tabItem.
#' @param ... Con... |
f9891c94c82065765534dffdc6c8ed7b795b1ee7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/OrdinalLogisticBiplot/examples/summary.ordinal.logistic.biplot.Rd.R | 20598bf4e38f575fdfaa4b2c1b4527b82fe460a8 | [] | 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 | 393 | r | summary.ordinal.logistic.biplot.Rd.R | library(OrdinalLogisticBiplot)
### Name: summary.ordinal.logistic.biplot
### Title: Summary Method Function for Objects of Class
### 'ordinal.logistic.biplot'
### Aliases: summary.ordinal.logistic.biplot
### Keywords: summary
### ** Examples
data(LevelSatPhd)
olbo = OrdinalLogisticBiplot(LevelSatPhd,sFormula=NULL... |
98b68ff2724f485c8c4c7cef3c9b07a94ccd28cd | 18da8146b3602430e2c5687aba08e8555de8cb87 | /Assignment 9.R | 8cef38abf29ee74dd4741ca87aee7b274614e914 | [] | no_license | cnmwebb/assignment9 | 65266f72de671e4b25960dd61a7cdb379266ee58 | 6bc131c88b747c50a4562118b85979f668da024e | refs/heads/master | 2021-04-03T08:18:36.068280 | 2018-03-12T01:13:36 | 2018-03-12T01:13:36 | 124,815,752 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | Assignment 9.R | JJ=JohnsonJohnson
plot(JJ$time, JJ$JohnsonJohnson, main="EPS Over Time", xlab = "Year", ylab = "EPS", pch=20, col=2, cex=2)
library(lattice)
xyplot(JohnsonJohnson~time, data=JJ, pch=".", cex=5, main="EPS Over Time", xlab="Year", ylab="EPS")
library(ggplot2)
ggplot(JJ, aes(time, JohnsonJohnson)) + geom_point(co... |
cc08772c6b485850bb994bd0cd0d3e33c7207a66 | 3ae0832863c3fd6b00a684b309c3ba760b41918e | /R/selection.R | 52eb1e0c3d1c22ed04227a38d5efedac451eb18c | [] | no_license | sestelo/fwdselect | a0a86b2810f5057c6dc95514faf6fd15f2058c1f | 1446635b14e75284dc035dacf718de1dc0d6316b | refs/heads/master | 2021-01-01T05:38:42.817077 | 2015-12-21T11:19:01 | 2015-12-21T11:19:01 | 30,368,847 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 16,556 | r | selection.R | #'Selecting a subset of \code{q} variables
#'
#'@description Main function for selecting the best subset of \eqn{q} variables.
#' Note that the selection procedure can be used with lm, glm or gam functions.
#'@param x A data frame containing all the covariates.
#'@param y A vector with the response values.
#'@param q ... |
8ea6baf2748298a243f0b3b1b70bc87132951126 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/umx/examples/umx_check_names.Rd.R | 99b78e3425892286556d38e4455fc8d43aad491b | [] | 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 | 704 | r | umx_check_names.Rd.R | library(umx)
### Name: umx_check_names
### Title: umx_check_names
### Aliases: umx_check_names
### ** Examples
require(umx)
data(demoOneFactor) # "x1" "x2" "x3" "x4" "x5"
umx_check_names(c("x1", "x2"), demoOneFactor)
umx_check_names(c("x1", "x2"), as.matrix(demoOneFactor))
umx_check_names(c("x1", "x2"), cov(demoOne... |
6cdba5030fd4602f7e1fb80abb8eda190190f53d | d2f39a2258dbe6253bc28fd00717a67b131751f4 | /man/EmptyTheme.Rd | 705b02d03d629885c6de07668f4a892224ed112d | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | andrewzm/MVST | 6e5d9d5c84ba0d28e38fdb69b12cfa8ba1bcc45f | 2bf0835e66e04e120f78fe8673afe3dd9d6f42c0 | refs/heads/master | 2022-09-29T23:40:39.048820 | 2022-09-15T21:37:50 | 2022-09-15T21:37:50 | 20,478,703 | 10 | 9 | null | 2018-10-18T14:50:36 | 2014-06-04T10:13:03 | R | UTF-8 | R | false | true | 452 | rd | EmptyTheme.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plottingfns.R
\name{EmptyTheme}
\alias{EmptyTheme}
\title{Empty-plot theme}
\usage{
EmptyTheme()
}
\value{
Object of class \code{ggplot}
}
\description{
Formats a ggplot object for plotting with no annotations/grids.
}
\examples{
\dontrun{
X ... |
36cc34ee11e64390f67026405e330c119519b9eb | 75db022357f0aaff30d419c13eafb9dddfce885a | /R/habitat.model.data.r | 8628f320390df543bebeea18db8e17bc59809517 | [] | no_license | LobsterScience/bio.lobster | d4c553f0f55f561bb9f9cd4fac52c585e9cd16f8 | b2af955291cb70c2d994e58fd99d68c6d7907181 | refs/heads/master | 2023-09-01T00:12:23.064363 | 2023-08-23T16:34:12 | 2023-08-23T16:34:12 | 60,636,005 | 11 | 5 | null | 2017-01-20T14:35:09 | 2016-06-07T18:18:28 | R | UTF-8 | R | false | false | 12,420 | r | habitat.model.data.r | #' @export
habitat.model.data <- function(DS, p) {
options(stringsAsFactors=F)
fn.root = file.path( project.datadirectory('bio.lobster'), "data")
fnProducts = file.path(fn.root,'products')
dir.create( fn.root, recursive = TRUE, showWarnings = FALSE )
dir.create( fnProducts, recursive = TRUE, s... |
69c41df59b34d1951f79a9863ebab494b24f3a96 | 763b20bbaf2aa89bbe5ed27bd25d074d08e204cb | /scripts/tema1/03_analisis_HTML.R | 70756e5de85bd01e6dd2c65222bbcacfd626d5fd | [] | no_license | kepasa05/R_ | 37eb262e071a969031121465c5def64a85ddfb06 | 09d37a374e3f98d89aadcdc252724ef7275523ac | refs/heads/master | 2022-12-02T22:02:51.764714 | 2020-08-01T11:44:04 | 2020-08-01T11:44:04 | 283,586,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 148 | r | 03_analisis_HTML.R | # lee datos de tablas de una tabla
tabla <- read.table("https://datanalytics.com/uploads/datos_treemap.txt", header = TRUE)
class(tabla)
View(tabla) |
57ac96aa94336dfbdee26a34d06499ddb4e9c63b | f3ed3d4dab1222fbc9132050b5f95044d1058ea1 | /13.1.R | 18ca872af72cc330f0e8ac503e7ee5d79f81c30e | [] | no_license | Clairepp/Design-of-Experiments | e3e8971aea2093e68aabeb9e9663af364419f8f3 | a72e75877612ee07b9640a72400d7e3d8b21939d | refs/heads/master | 2021-01-20T22:29:38.910388 | 2016-06-21T19:55:40 | 2016-06-21T19:55:40 | 61,662,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | r | 13.1.R | library(lme4)
y <- c(14,14.1,14.2,14,14.1,13.9,13.8,13.9,14,14,14.1,14.2,14.1,14,13.9,13.6,13.8,14,13.9,13.7,13.8,13.6,13.9,13.8,14)
looms <- c(rep(1,5),rep(2,5),rep(3,5),rep(4,5),rep(5,5))
looms <- as.factor(looms)
y.lmer1<-lmer(y~1+(1|looms))
summary(y.lmer1)
y.aov <- aov(y ~ Error(looms))
summary(y.aov)
qqnorm(res... |
adf78a2d0585497e9105b4afdd48e4a0e620533a | fe8d2b3f50d9441fa12a35b0e84a8196e8d48702 | /man/ps_read_table.Rd | e424cfb5fcdf5803c6e35a2386e12b408ab51924 | [
"MIT"
] | permissive | poissonconsulting/poissqlite | 6593e26aac0a71c4a1298ec6d2e1ca386f400120 | 8a868df55dcebe2012a121d656ad13298267b324 | refs/heads/master | 2021-10-01T22:09:19.865823 | 2021-09-16T16:19:20 | 2021-09-16T16:19:20 | 98,579,666 | 0 | 0 | NOASSERTION | 2021-06-23T22:53:54 | 2017-07-27T21:04:22 | R | UTF-8 | R | false | true | 402 | rd | ps_read_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.R
\name{ps_read_table}
\alias{ps_read_table}
\title{Read Table}
\usage{
ps_read_table(table_name, conn = getOption("ps.conn"))
}
\arguments{
\item{table_name}{A string of the name of the table.}
\item{conn}{An SQLiteConnection object.}
... |
84dfdf92a6158d6a12fed8385463ccc1c40ce7b7 | eb1dfc035cd60dbda7a9b0f784c11599df7e32a4 | /man/get_population_rate.Rd | 0db2b99b6c8b685728967981c18e21ce1343680b | [
"MIT"
] | permissive | grattan/covidReff | 7ee699fdfcee0744de8e5b2d13f2d0d1cdc45713 | 7269127c4de6d6504d72ae2159ad88352773c7f1 | refs/heads/master | 2023-07-18T22:01:31.234608 | 2021-08-14T00:41:04 | 2021-08-14T00:41:04 | 381,024,756 | 4 | 1 | NOASSERTION | 2021-08-14T00:41:04 | 2021-06-28T12:33:22 | R | UTF-8 | R | false | true | 627 | rd | get_population_rate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get-vaccination-rates.R
\name{get_population_rate}
\alias{get_population_rate}
\title{Get population rate based on an age-specific input}
\arguments{
\item{age_rate}{a vector of length 10 with vaccination levels for age groups: 0-10, 11-20, .... |
32fa28a9819d488498ba532fed8e48de871a427e | b30a6a9d69305509e197bd36d5307578a05ad46f | /multipointcalcs.R | 4b330d4574d5e9674396693deb52b16002cc0bde | [] | no_license | amwootte/analysisscripts | 49b4d6736d1701805a960425f96d01e7397ef852 | 9ab5dd1a7659664daf652c0138510e5a3644ee62 | refs/heads/master | 2022-07-20T05:09:10.418987 | 2022-07-06T15:02:10 | 2022-07-06T15:02:10 | 116,304,534 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,469 | r | multipointcalcs.R | ##################
#
# Multiple Location Point calculation
setwd("/data2/3to5/I35/scripts/")
location = "Guymon"
lon = 258.5185
lat = 36.6828
period = "2041-2070"
vars = c("tasmax","tasmin","tmax95","tmax100","tmin32","tmin28","heatwaves","gsl","frd","mdrn","pr25","pr50","rx1day","rx5day","cwd","cdd","pr")
type = c(re... |
89af9ab75f50808662b12bb1f7f6fde27a3815a6 | a3a3a26d0ef80fba3d5c133d62e649dd55937f2c | /R/ToNCDFSG.R | eacc396f7475707a1b25dd7ceaf3dcc2dbaa098e | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | dblodgett-usgs/NCDFSG | 74181ab2d24d588072cf0add71f67141c5c48f14 | ec92886d9da885125fd08a059312ca2c3d86c465 | refs/heads/master | 2021-01-19T00:18:01.959465 | 2017-04-07T00:50:41 | 2017-04-07T00:50:41 | 73,005,025 | 1 | 1 | null | 2017-03-25T14:29:45 | 2016-11-06T16:53:21 | R | UTF-8 | R | false | false | 3,418 | r | ToNCDFSG.R | #'@title Convert sp objects to NetCDF
#'
#'
#'@param nc_file A string file path to the nc file to be created.
#'@param instance_names A character vector of names for geometries.
#'If NULL, integers are used. If the geomData has a data frame, this is not used.
#'@param instance_dim_name If the file provided already has ... |
d4346a716b29ab1cc2cee688456f0082cdd5c2ed | 005d7e55b9be2b8fa9caf73ee8d6178b9ba07760 | /network.R | e04ca2c41c39848efee500366c95599531bec5cf | [] | no_license | statsjedi/hhco | 63cf89f72e59b23123452179109c21010f4f4b97 | fd02350c1c9247da7ead3bc400de8082fe94d294 | refs/heads/master | 2022-12-01T01:17:00.754025 | 2020-08-07T17:19:38 | 2020-08-07T17:19:38 | 284,848,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,491 | r | network.R | library(tidyverse)
library(tidygraph)
library(ggraph)
library(readxl)
#make edges and nodes
edges <- read_excel("hhco_markov.xlsx", sheet = "network")
nodes <- tibble(node_key=seq(1, 11, 1), label=seq(0, 10, 1), color=c(rep("white", 10), "black"))
#edges can't have 0 in the list
edges$from <- edges$from + 1
edges$t... |
32041e1d341393aa29fc216f6f91e590b34989ff | 1a3db847ec62cbc9c88a0742d7c67bd035069ede | /plot3.R | 5a9237d7f3a63adccd7e75aadf224d7beb9b78b2 | [] | no_license | anpefi/ExData_Plotting1 | b5756be4e4449e0e01149c5fcc3aa5765ac7115c | 6e4c447aa098924d9e9b1f01394a7aeb2514db8c | refs/heads/master | 2021-04-29T16:32:13.221317 | 2018-02-15T17:43:49 | 2018-02-15T17:43:49 | 121,651,795 | 0 | 0 | null | 2018-02-15T16:23:01 | 2018-02-15T16:23:01 | null | UTF-8 | R | false | false | 837 | r | plot3.R | library(tidyverse)
library(lubridate)
variables <- read_lines("household_power_consumption.txt", n_max = 1) %>%
stringr::str_split(";") %>%
unlist
data <- read_delim("household_power_consumption.txt", delim = ";",
skip = 66637, n_max = 2880,
col_names = variables)
data <- d... |
b878783df2d05902c294b1ffbb56fad38330490c | 7b8b0e7f3d0866f031dd66f0cb7affeef4ec308f | /R/col_density.R | a549e98e8c0a7a321d21a5d42c85f7c9d72a84de | [
"MIT"
] | permissive | PizzaShift/r-codatools | ac11f97705e15c1d7ceacf54f65b0be28c094435 | 202ffb1c133d161a7bc1beecc557690fb02e40aa | refs/heads/master | 2021-10-24T23:15:56.992115 | 2019-03-29T16:51:15 | 2019-03-29T16:51:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,616 | r | col_density.R | #' @title Plots non-parametric density overlays for each column in a matrix
#'
#' @description
#' Calculate and plot the non-parametric density for the data in each
#' column of a matrix. All densities are plotted on the same graphic.
#'
#' @param x
#' a matrix
#'
#' @param xlim
#' vector of length ... |
d8d6bce5b3d24a084f76b2e8f1042f6d5f6bc110 | 5949b4ceb8ef222b1feadac1cc93f1ba4101f8dd | /man/download_phoenix.Rd | 9722e2f9b08c758569c1785d5a1507d2396c472e | [
"MIT"
] | permissive | altaf-ali/phoxy | f49e5d4234613a5f9285d854a7f16cce865981a4 | 8718c4625fa119a20e495cd036a500a7bfef7237 | refs/heads/master | 2020-12-31T00:41:01.776707 | 2017-02-24T02:13:48 | 2017-02-24T02:13:48 | 80,634,679 | 0 | 0 | null | 2017-02-01T15:42:23 | 2017-02-01T15:42:23 | null | UTF-8 | R | false | true | 1,047 | rd | download_phoenix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_phoenix.R
\name{download_phoenix}
\alias{download_phoenix}
\title{Download the Phoenix Dataset}
\usage{
download_phoenix(destpath, phoenix_version = "current", start_date = NULL,
end_date = NULL)
}
\arguments{
\item{destpath}{The p... |
8972e1f893d43ed14dfe6c0ba21c75cd3ea85e8d | 67c2a90c7edfac3cfd891cb332c45e71cf4a6ad1 | /R/vcov.loglike.din.R | eb1e939f4ad79a3b97e86155d271cf455a0dcb4d | [] | no_license | alexanderrobitzsch/CDM | 48316397029327f213967dd6370a709dd1bd2e0a | 7fde48c9fe331b020ad9c7d8b0ec776acbff6a52 | refs/heads/master | 2022-09-28T18:09:22.491208 | 2022-08-26T11:36:31 | 2022-08-26T11:36:31 | 95,295,826 | 21 | 11 | null | 2019-06-19T09:40:01 | 2017-06-24T12:19:45 | R | UTF-8 | R | false | false | 1,415 | r | vcov.loglike.din.R | ## File Name: vcov.loglike.din.R
## File Version: 0.10
#########################################################################
# compute log-likelihood for din objects
vcov.loglike.din <- function( weights, skillprobs0, slip0, guess0,
latresp, item.patt.split, resp.ind.list,
return.p.xi.aj=FALSE )
{... |
f2a469cfb9fba8614c2d2beed3a24925de1bc78c | 1d42d73011f65a104bbfa60a60585e831af31870 | /cachematrix.R | 639011ba3a6e5e76b640cbe9a93d53f9e701d05f | [] | no_license | alnisb/ProgrammingAssignment2 | 53e2b9b47588f9a580f71e5eabf0bd65e93d08ec | 0bd247b376767610313da75aceb8f937fd7e4c90 | refs/heads/master | 2021-01-19T06:56:06.993555 | 2015-05-22T03:25:34 | 2015-05-22T03:25:34 | 36,049,314 | 0 | 0 | null | 2015-05-22T03:01:41 | 2015-05-22T03:01:40 | null | UTF-8 | R | false | false | 2,362 | r | cachematrix.R | ## Pair of functions to.
## 1. Store a matrix and cache its inverse.
## 2. Call function to compute, but try to get from cache as an optimisation.
## Assumption. NO validation that a supplied matrix is indeed invertible.
## Sample test case
## sampleMatrix <- matrix(c(1,0,5,2,1,6,3,4,0), ncol=3)
## s <- makeCacheMatr... |
17c708b592f008303dcb39dbbe7ddd0c75da019d | f3cd125e975a2373bb7dc62b808b1bbcdb96e274 | /R/dependency.R | d0ef54ea9951e5ffe20be7a898586515bad26373 | [
"MIT"
] | permissive | JohnCoene/ascatter | 5260b1c46a5ba373a83d5d7481435d0983aa08a6 | c814c8193b291e5ac8dfc44b5f17ece18b2a1531 | refs/heads/master | 2021-06-27T12:57:22.655312 | 2019-06-17T07:33:27 | 2019-06-17T07:33:27 | 145,391,406 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 754 | r | dependency.R | #' Attach dependency
#'
#' Attach scatter plot dependency.
#'
#' @note The package also depends on d3.
#'
#' @examples
#' aframer::a_scene(
#' aframer::a_sky(),
#' list(
#' d3_dependency(),
#' as_dependency()
#' )
#' )
#'
#' # OR
#' aframer::a_scene(
#' aframer::a_sky(),
#' as_full_dependency()
#' )
#... |
2e653d1c7f0c3cbd1578fa93361f69e5bc78f72e | eb9b5a5b759b10bfbf8421f3a67a025a9ff7c069 | /pQTL/2_Generate_tables/6_druggability.R | 2abb36bf21fc8a7b678fb66ad15b5be9506971c8 | [] | no_license | Jingning-Zhang/PlasmaProtein | fc42790f4eaea03e5b0285dbcc5ca7bc929ecc3e | 1a3fd772782bf2b599f8c81054e4bf899ca41bd1 | refs/heads/main | 2023-04-15T22:55:54.912402 | 2022-11-29T06:42:31 | 2022-11-29T06:42:31 | 465,238,572 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 803 | r | 6_druggability.R |
## results from revision_500Kb/4_AASK
rm(list=ls())
library(readr)
library(bigreadr)
library(stringr)
pos0 <- read_tsv("/dcl01/chatterj/data/jzhang2/PWAS_tutorial/Plasma_Protein_EA_hg38.pos")$ID
pos0 <- c(pos0, read_tsv("/dcl01/chatterj/data/jzhang2/PWAS_tutorial/Plasma_Protein_AA_hg38.pos")$ID)
pos0 <- unique(pos... |
e735e00d95a0da60bc099725cb2cb37e2e2f03bf | 6b847b77a3d0ca15fcbb681fb1136c84644556c2 | /stmpy/R/semanticCoherence.R | 87fc39b24908c360c6591f1ad5c5dce09198c19c | [
"MIT"
] | permissive | AntonioCoppola/stmpy | 09163b2ef3969db1c64cf40743d1eebefad82c68 | 91550648fb4541297d117938a52877a56f392e61 | refs/heads/master | 2021-01-24T21:42:35.668501 | 2016-01-17T01:54:40 | 2016-01-17T01:54:40 | 43,222,627 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,943 | r | semanticCoherence.R | semanticCoherence <- function(model.out, documents, M){
if(length(model.out$beta$logbeta)!=1) {
result <- 0
for(i in 1:length(model.out$beta$logbeta)){
subset <- which(model.out$settings$covariates$betaindex==i)
triplet <- doc.to.ijv(documents[subset])
mat <- simple_triplet_matrix(triplet$i,... |
88516cde922b0cbee30829376bdd61ecbfa48114 | 6313022214452f3f1645b8f1ec4b70a86029c86a | /cachematrix.R | 5e1adc024f862a535efce2ce01df0f49c1b65ec5 | [] | no_license | benedictjg/ProgAssignment2 | 9e0d6ea488f68da36582c9802ced9b60ebef9a6d | 2ed0b26c94a2898c46ac5ad11626e34bcd66f54e | refs/heads/master | 2020-04-06T05:01:51.495973 | 2015-04-26T13:05:48 | 2015-04-26T13:05:48 | 34,163,670 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,411 | r | cachematrix.R | ##The following pair of functions can compute the inverse of a matrix
##and cache the solution to be used later instead of re-computing.
##The makeCacheMatrix function creates a list containing a function to
##1. set the value of the matrix
##2. get the value of the matrix
##3. set the value of the inverse of the matr... |
ef5e4e859765d6d91736d8d948d4d0c02453238f | 9972106e39f5cc87ec7c85a3c890d09a253de6bb | /man/print.n.for.2p.rd | ab30a049f18ec71316e7b664704180ee6346ef63 | [] | no_license | cran/epiDisplay | ed688f06f5f7101d851a28857930dd43748b51ee | e90693c88a54fe1ecb7c64638de43c3992375de9 | refs/heads/master | 2022-05-28T12:16:44.261031 | 2022-05-18T13:20:02 | 2022-05-18T13:20:02 | 38,376,568 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | rd | print.n.for.2p.rd | \name{print n.for.2p}
\alias{print.n.for.2p}
\title{Print n.for.2p results}
\description{Print results for sample size for hypothesis testing of 2 proportions}
\usage{
\method{print}{n.for.2p}(x, ...)
}
\arguments{
\item{x}{object of class 'n.for.2p'}
\item{...}{further arguments passed to or use... |
b02d2407ae36f1ecaf0e0b56359c00b2732f7033 | ab00bc7e17121d2dcf3741dc9f650a4e76ed4a44 | /revdep/drake.R | 55909ba47a6470046f26d1693036e56d263e6aa1 | [
"MIT"
] | permissive | tidyverse/dplyr | 9b7fdc07e6a70bc8e802094e2e2a127af22bcc02 | cf8031d00f406c6dc5d483d7e9e34639df797b81 | refs/heads/main | 2023-09-01T03:52:50.608019 | 2023-08-25T13:42:29 | 2023-08-25T13:42:29 | 6,427,813 | 3,290 | 1,982 | NOASSERTION | 2023-09-09T20:14:25 | 2012-10-28T13:39:17 | R | UTF-8 | R | false | false | 6,173 | r | drake.R | source("revdep/drake-base.R")
subset_available <- function(available, pkg) {
if (pkg %in% rownames(available)) {
available[pkg, , drop = FALSE]
} else {
available[integer(), , drop = FALSE]
}
}
download <- function(pkg, available, ...) {
dir <- fs::dir_create("revdep/download")
dir <- fs::path_real(... |
b96abcff3bfbcd4aacd868a787ba30836436393b | 4bcb4b43befff86ce93476e5418b96274347ac50 | /man/lowerdiag2mat.Rd | e92923714806d14c8d8eb7842fc51aa770e6f331 | [] | no_license | ashiklom/mvtraits | 7a05e2c19925ea00da964c462cda38a05707a8db | 7a8cbd4015adad8b187252b244e89eb25fe73c65 | refs/heads/master | 2020-09-12T07:32:21.259622 | 2019-09-03T01:15:07 | 2019-09-03T01:15:07 | 94,459,450 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,118 | rd | lowerdiag2mat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lowerdiag2mat.R
\name{lowerdiag2mat}
\alias{lowerdiag2mat}
\title{Convert a vector of the lower diagonoal of a symmetrical matrix to a matrix}
\usage{
lowerdiag2mat(vec, col_names = TRUE, corr = FALSE, colorder = NULL,
hier = FALSE)
}
\argu... |
59e204220c2685ade025b654b17250ec91a753ba | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/2176_0/rinput.R | cd9c39f0df97496401f79ed5bc6d9135d91579e0 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("2176_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="2176_0_unrooted.txt") |
c90f54e4bf84de16d548ea2fb4924c26e48a9275 | 3fe1517654896fb0e0e821380c907660195b2e0f | /man/makeCDM.Rd | 89b0db178c6d7e87f20eb43683b12e9aa882e9df | [] | no_license | eliotmiller/metricTester | 9462035d8342e49d766ec37463cd27c2090c85c1 | 976d9b43773f1a06bc0254d3f355d2ee9f4be659 | refs/heads/master | 2020-04-06T06:30:42.528226 | 2019-12-12T20:38:53 | 2019-12-12T20:38:53 | 11,936,920 | 8 | 5 | null | 2017-03-21T15:00:28 | 2013-08-06T23:25:26 | R | UTF-8 | R | false | true | 1,716 | rd | makeCDM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeCDM.R
\name{makeCDM}
\alias{makeCDM}
\title{Wrapper for creating a CDM from a spatial simulation result}
\usage{
makeCDM(single.simulation, no.plots, plot.length)
}
\arguments{
\item{single.simulation}{The results of a single spatial simu... |
6c26f7c93b15e89de4d71aab6ea05c358ec6b741 | da45f8493930e97a28d1784ec5e5280275ff4a4d | /man/showall.Rd | b60c5fb2785d329e9367c09f50bef5d77ea2fd3a | [] | no_license | cran/npde | ae704a7f3c7725756cb943f86bbd2037bf8ebebc | e612d833986a752ea2f2580f07f838478c3864a5 | refs/heads/master | 2023-06-24T21:23:39.188909 | 2023-06-15T08:10:02 | 2023-06-15T08:10:02 | 17,697,971 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 617 | rd | showall.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NpdeData-methods.R, R/NpdeRes-methods.R,
% R/NpdeObject-methods.R
\name{showall}
\alias{showall}
\alias{showall.NpdeData}
\alias{showall,NpdeData-method}
\alias{showall.default}
\alias{showall,method}
\alias{showall.NpdeRes}
\alias{showall.... |
863f93d69cb83b2f4902da354af51fc99f586859 | 2529bf4201dceabb19a0197e77e6e4a67064502c | /Ass3/test.r | a526d31988464bc4996f3f9b68ca09a374260503 | [] | no_license | adamzenith/Adv-data-analysis-projects | a5c468eb39e2e69da6ff45977693151c6f5652ea | 1b897cb4f3dc58ae198fe3f03bab9c56236b96e1 | refs/heads/main | 2023-04-21T12:38:05.832092 | 2021-05-12T11:11:06 | 2021-05-12T11:11:06 | 343,458,516 | 0 | 0 | null | 2021-03-08T15:29:19 | 2021-03-01T15:10:44 | R | UTF-8 | R | false | false | 960 | r | test.r | ### 1.1
library(lme4)
clothing <- read.table(file = 'clothingFullAss03.csv', sep = ",",header=TRUE)
no.persons <- max(clothing$subjId)
## Test result
fit0 <- lmer(clo~sex+(1|subjId),data=clothing,REML=FALSE)
summary(fit0)
#function to optimize
nll.0 <- function(theta,dat,X) {
params <- X %*% t(t(theta[1:2]))
... |
8665840b1a1370e1662d440ddeaa4d149b1582a8 | 9da2e50861397cadc365e39883a0dd4d409c72a6 | /codeANM/code/experiments/ANM/experimentAltitude.R | 87bbe70d6d762cc0de0f9deab3c8b2c23cab5418 | [
"BSD-2-Clause"
] | permissive | bquast/ANM | 643c9c6168d7ed0767c6594683c9b07a8f7a6213 | eaf5cec24af8143d4bbd96a3e469ed7bb479ed98 | refs/heads/master | 2021-01-19T08:49:04.670569 | 2014-12-22T09:48:24 | 2014-12-22T09:48:24 | 28,332,929 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | experimentAltitude.R | # Copyright (c) 2013 - 2013 Jonas Peters [peters@stat.math.ethz.ch]
# All rights reserved. See the file COPYING for license terms.
#source("../../startups/startupGES.R", chdir = TRUE)
source("../../util_DAGs/randomB.R")
source("../../util_DAGs/randomDAG.R")
source("../../util_DAGs/dag2cpdagAdj.R")
source("../../st... |
b35e67995054880ad87f1c5ad9d45caf62923d14 | b5c4c7b13d97161d67ab8aafa4a124696331aa70 | /loans v6.R | 7e189b10d59d3e3f0d8c47e75c6271ead9b0c0e9 | [] | no_license | ISWARPRADHAN/Gramener-Case-Study | 8abf5fc44adab11a785d16692421b3fb06c6c7ba | 76f23f01afecaccb5a2c77bbd683715e20cd3e5e | refs/heads/master | 2022-01-11T20:00:13.573840 | 2018-08-13T17:52:29 | 2018-08-13T17:52:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,216 | r | loans v6.R | #PLEASE NOTE THIS CODE WILL TAKE 3-4 MINS TO COMPLETE THE EXECUTION
#MANY GRAPHS ARE GENERATED!!
#THANK YOU FOR YOUR PATIENCE
#--clearing workingspace and loading required libraries ------- --------
#clearing workingspace and loading required libraries
rm(list=ls())
library(xlsx)
library(tidyverse)
library(dpl... |
3e3362c4bfa362dc48711ffeac2e7cbe4f6b4b6b | 988da62bee4a32aa9aaa4720926429a05539cba3 | /code/Check_central_Australia.R | 91acaf7239e524d43f69b33e3c4f6cb862be4015 | [] | no_license | mingkaijiang/Australia-precipitation-predictability | 5acddd779e5e043d9d435703ddf5ddcd0564d42b | d42e2dc996c15d449d67ee9625b14d0aed0f93c3 | refs/heads/master | 2021-08-08T17:45:04.783533 | 2021-06-15T22:48:03 | 2021-06-15T22:48:03 | 129,040,038 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 928 | r | Check_central_Australia.R | Check_central_Australia <- function() {
#### Read in 0.05 resolution gridded predictability data
myDF <- read.csv("output/Australia_rainfall_annual_0.05_resolution.csv")
### prepare the finer resolution data
f <- read.ascii.grid("data/1980/rain_19800101.grid")
### Create grid info
x.li... |
936bd69d7566905db7929497044c9d8a901fc831 | 70e4cdaf31689583d08cb8149eeeed8f7e97a54e | /Top 10 Web Pages Visited In A Website.R | 19518d75609fd9419ad6d835d471fc9fb18ff072 | [] | no_license | cdevairakkam7/R-Projects | b16e832f9b0db605f966a62fc9eb1fbd2a45163f | a8269771de29e67d2ff1c41aa8039c97b701b474 | refs/heads/master | 2022-10-12T07:20:15.809701 | 2020-06-05T23:18:36 | 2020-06-05T23:18:36 | 269,787,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 910 | r | Top 10 Web Pages Visited In A Website.R |
# Loading A1-1_pages.csv
pages_dataset<-read.csv("https://www.dropbox.com/s/m8yjzsnwxs4ohbe/A1-1_pages.csv?dl=0",header =TRUE)
# Top 10 Visited pages
top_10_visited_pages<-sqldf("SELECT count(path) as Count,Path from pages_dataset group by 2 order by 1 desc limit 10")
# Re-Ordering
top_10_visited_pages$path<-fact... |
5227c15f8d9ad218aff62c4e831cbbc3d8aa4cf0 | 8de55d619d716b78e4f532e72811fb229a285841 | /man/calculateTotal.Rd | e983042e4691cba66ca91235cec818ba6219f086 | [] | no_license | tbendsen/VIAreports | e9b99373586a2fe8bdd05585f76ee44fd73eccaf | 2997d35368e03c803affaf7d12c69f10cf22279e | refs/heads/master | 2020-09-10T17:10:39.841646 | 2019-11-14T19:39:05 | 2019-11-14T19:39:05 | 221,772,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 592 | rd | calculateTotal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/termReport.R
\name{calculateTotal}
\alias{calculateTotal}
\title{calculateTotal}
\usage{
calculateTotal(roomuse, singleWeek = NA)
}
\arguments{
\item{roomuse}{RoomUse object}
\item{singleWeek}{if given roomutilization is calculate... |
3d27a756240e43361cc14484ea7a14dda975a751 | 5c4b2b3e488d306151948f4ffdb648b54f0b4cee | /Table 4 code/HSregression_043020.R | 927166abd4b6afb5ffa9f818a9fb687fc3796505 | [] | no_license | Anupreet-Porwal/Prelim-project | fb3e3b13fbe3f22f210b3b1465af91fa253c4c28 | 6c27e2f7cdfb38a1dcedb80757e824b102d40c16 | refs/heads/master | 2022-07-31T06:49:07.323089 | 2020-05-18T05:52:10 | 2020-05-18T05:52:10 | 264,840,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,310 | r | HSregression_043020.R | library(truncdist)
library(mvtnorm)
# This paper implements the Horeshoe sampler discussed by
# Makalic, Enes, and Daniel F. Schmidt. "A simple sampler for the horseshoe estimator."
# IEEE Signal Processing Letters 23.1 (2015): 179-182.
# It uses the relation between Cauchy and Inverse gamma to make conditional ... |
6b95e15940baba9f3486fc76b428ac0e95aa4376 | cd7136449c4ea91fec7071948cce80da45d4244d | /man/swap.project.paths.Rd | a5553bcfa254771d216716cf5daa468da2b37c66 | [] | no_license | bokov/adapr | 20428bb4c871b6ae02f3df3461d837513174d622 | 5af9860921a3e945a8ea4993d69e545c1cc5681e | refs/heads/master | 2021-01-19T10:05:40.674036 | 2017-05-23T14:15:05 | 2017-05-23T14:15:05 | 87,824,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 645 | rd | swap.project.paths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/swap_project_paths.R
\name{swap.project.paths}
\alias{swap.project.paths}
\title{Take list of dependency file data and changes the project path}
\usage{
swap.project.paths(list.deps,
new.path = get.project.path(get("source_info")$project.id... |
f48dd6abf7ef149c7fda49c098fdc2d0ef9df1cf | aea24dd12afe7bf9c93eaa0dc17c6744dc487d2a | /man/int_to_zip_str.Rd | 7d64b1e6bcef0423f7c170a3c8dcbedcafd21910 | [] | no_license | NSAPH/rcehelp | 9f6091e35072ac84a8a7a00cd15b959019cd6c99 | 06718559bf786ab11ce2fc473a5faf4b3a117c72 | refs/heads/master | 2020-03-22T20:35:01.226005 | 2019-04-22T18:26:53 | 2019-04-22T18:26:53 | 140,612,114 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 351 | rd | int_to_zip_str.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_manipulation.R
\name{int_to_zip_str}
\alias{int_to_zip_str}
\title{Convert zips stored as ints to 5 digit strings}
\usage{
int_to_zip_str(zip)
}
\arguments{
\item{zip}{zipcode represented as an integer}
}
\description{
Convert zips store... |
5c41ca0ed8f312bdf5b788a22ef2ed0edeccddfe | 22b4284758ec2bff26177271e9a099da21726fb1 | /4.5 Adding Signatues Names.R | 0af3672e080ae835ea57401fd716ba55841b9e8c | [] | no_license | pmav99/SEC_Letters_Codes | 38da3a9791f57729954b9526c3135c55dc22be3c | ce24117cdbe26a662190c0a77bacce9694733120 | refs/heads/master | 2021-05-03T14:38:58.649032 | 2017-07-24T22:16:54 | 2017-07-24T22:16:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,202 | r | 4.5 Adding Signatues Names.R | ### load large file
require(data.table)
upload <- fread("./Projects/SEC Letter Project/Data After Review/upload_all.csv")
find.names <- function(upload, name_codes)
{
upload[, who_wrote := gsub("\\bfor\\b.*", "", sign)]
upload[, who_authored := "NA"]
upload[grepl("\\bfor\\b", sign), who_authored := gsub(".... |
da213a0f24ee2f77a01299cbb8cbfbf19678708d | ba35b3da4f99c0ee6d0955c47470fd7bc61af7cc | /Rotina Base Geral - Custo.R | 70a008bd2aa90aba420915dca3602e13b3b60579 | [] | no_license | maguiiiar/projetos_unimed | 9337009698cabb9069e0a09550383bea1fdc1a97 | bf198eb42ee9b9755656bb7715c5b85410b7ec8a | refs/heads/master | 2021-04-06T06:24:36.701981 | 2019-03-29T13:21:05 | 2019-03-29T13:21:05 | 125,254,839 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,545 | r | Rotina Base Geral - Custo.R | #BASES GERAIS - ORNELAS
basegeral201401 <- fread("BaseCusto201401.txt", h=T, sep="|",fill=T, na.string="NA")
basegeral201402 <- fread("BaseCusto201402.txt", h=T, sep="|",fill=T, na.string="NA")
basegeral201403 <- fread("BaseCusto201403.txt", h=T, sep="|",fill=T, na.string="NA")
basegeral201404 <- fread("BaseCusto20140... |
6cdfcd11fe57c4adfa2be41379501ebcdf2e4e35 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/irregulAR1/examples/ar1_prec_irregular.Rd.R | 822002e2fe00da64bbffdcb768f3e49c0f54190a | [] | 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 | 321 | r | ar1_prec_irregular.Rd.R | library(irregulAR1)
### Name: ar1_prec_irregular
### Title: Precision matrix for a stationary Gaussian AR(1) process,
### observed at irregularly spaced time points.
### Aliases: ar1_prec_irregular
### ** Examples
library(Matrix)
times <- c(1, 4:5, 7)
rho <- 0.5
sigma <- 1
ar1_prec_irregular(times, rho, sigma)
... |
d95ca9b2db602ff588c3bfce59695a692d5b1122 | cee0adff8aaad5e20e69008e4c28e5b8543de90a | /BDA/visual4.R | b924ac25b5921ee446b4ff5b912e244607574f31 | [] | no_license | rohan-dhere/R-Project | d3fd096701e0919beecc3163f4468ff21a1d13ee | fefb2d638df0fa2edcfd58a1ab1c85c11def5d24 | refs/heads/master | 2020-08-10T13:15:32.469897 | 2019-10-16T07:55:07 | 2019-10-16T07:55:07 | 214,350,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 192 | r | visual4.R | pokemon<-read.csv("pokemon/Pokemon.csv")
attach(pokemon)
x <- pokemon$Total
y <- pokemon$Special.Defense
plot(x, y, main="Scatterplot Example", xlab="Total ", ylab="Special Defense ", pch=19) |
d85acfaee6120565e92db71a1452c258d6e4ff25 | 05434920dc36c9ff650d9dc030a4658998f80403 | /CohortMaintenance.R | ae5429b04464062cc4b8901a5a6fe44d74a541d9 | [] | no_license | oxford-pharmacoepi/CoagulopathyInCovid19 | edd5f3c86a0ea0108da3d32f06e931343f77bcb7 | 5aad6014bf1a19fffbe46fcf04b7adeb66e5efb8 | refs/heads/main | 2023-07-15T06:12:36.161076 | 2021-08-22T18:25:57 | 2021-08-22T18:25:57 | 386,275,756 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,405 | r | CohortMaintenance.R | library(here)
library(stringr)
## Copy in sql for exposure cohorts from cohort diagnostics
exposure.cohort.diag.path<-"/home/eburn/diagCovCoagExposures"
# path to the cohort diagnostics package
# copy in cohorts
# remove existing
unlink(paste0(here("Cohorts","ExposureCohorts"), "/*"))
# bring in current
sqls<-list.fi... |
1226cf2dd096653dde55a3706a66246fd180c144 | 237bcbdc6b09c57b251191471359eeefb8014410 | /forestPlot.r | 4b4d065d4ed26d39751acd17b6fee1dcea2abfaa | [] | no_license | achalneupane/rcodes | d2055b03ca70fcd687440e6262037507407ec7a5 | 98cbc1b65d85bbb6913eeffad62ad15ab9d2451a | refs/heads/master | 2022-10-02T20:35:18.444003 | 2022-09-09T20:53:03 | 2022-09-09T20:53:03 | 106,714,514 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,367 | r | forestPlot.r | #!/usr/bin/env Rscript
cat("Starting R\n")
"forestplot" <-
function(estimate, se,
labels=paste("Study", c(1:length(estimate))),
CI=0.95, xexp=FALSE, xlab=expression(beta), ylab="", ...) {
hoff <- 3
del <- 10
mea <- !is.na(estimate)
estimat... |
da2e5748998e07dfd61061948b738f494a5c7f36 | 520b7ee4b967adab4aeb39f5a948889b13f5518d | /man/subBoot.Rd | 0253eb60dddb56c9d606384540fd78e775164d6f | [] | no_license | jknowles/merTools | d0e178a03b4da0af8ce133cf0c3b45d50741b8b6 | 178248e8ebf5eacb44c8a7e75951c65071678449 | refs/heads/master | 2023-04-07T11:31:45.834722 | 2023-03-20T16:44:14 | 2023-03-20T16:44:14 | 34,033,193 | 111 | 25 | null | 2023-03-16T20:52:29 | 2015-04-16T03:53:06 | R | UTF-8 | R | false | true | 1,209 | rd | subBoot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subBoot.R
\name{subBoot}
\alias{subBoot}
\title{Bootstrap a subset of an lme4 model}
\usage{
subBoot(merMod, n = NULL, FUN, R = 100, seed = NULL, warn = FALSE)
}
\arguments{
\item{merMod}{a valid merMod object}
\item{n}{the number of rows to... |
03ec8fb9deb9c356e45ed80b874aa64acf2807f9 | e61a93f373ebb49f137783dbcc441b945c1c6d55 | /3_Technical_change/1_Housing/4_2_Achat_2010_2024.R | 3e6e38258643120eeac0947bdb66bc6819000d1e | [] | no_license | eravigne/matisse | 5eb2d9437d5e28542396370301737f2fa6846684 | c6767f9495e4ad43d07c969b1ec5ee0362d95636 | refs/heads/master | 2021-03-18T07:02:01.002602 | 2020-03-15T15:53:35 | 2020-03-15T15:53:35 | 247,055,303 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,267 | r | 4_2_Achat_2010_2024.R | # Constructions neuves entre 2010 et 2024 :
# Selection des ménages
# Mise à jour budgets
# LIBRARIES ---------------------------------------------------------------
library(tidyverse)
library(dplyr)
# DATA --------------------------------------------------------------------
setwd("D:/CIRED/Projet_... |
7f08299c13cebe3e10871911f37fe2de118173ef | 8c436b7886ec442c70a61ed51520312fb138ca8f | /CODE FOR LINEAR REGRESSION.R | 48852c59d73eb0218921887cb4030e0eadc4ed93 | [] | no_license | ARYAN953/git-github | 63a4ea532769cf6d74917e071fb996e49f13052b | bfccaaf37d6edc0fc9ec7085b35b4facb1a3785a | refs/heads/master | 2023-02-17T11:08:58.032218 | 2021-01-09T19:26:15 | 2021-01-09T19:26:15 | 298,910,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,450 | r | CODE FOR LINEAR REGRESSION.R | setwd("D:\\R CLASS\\Linear Case Study\\Linear Regression Case")
#IMPORTING PACKAGES
library(dplyr)
library(lubridate)
library(readxl)
library(XLConnect)
library(openxlsx)
library(MASS)
library(car)
require(sqldf)
custdata <- read_excel("linear regression case.xlsx")
custdata$total_spend = custdat... |
fdacca43a2278c8dede44ecf9087c502050d6641 | 20a4f4d42bad6d20437979af5d5100c851b5f947 | /man/urbn_source.Rd | 3f6ed3ed527c58978a15d9891c02ad545f703739 | [] | no_license | shanerock/jcathemes | 3cfa1b9126c319d6ffe22d4c917e5631f4644da0 | ab38f351bc19734e910d9378bde33fc301a30c79 | refs/heads/master | 2022-11-25T00:19:19.583039 | 2020-07-27T18:30:13 | 2020-07-27T18:30:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 379 | rd | urbn_source.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/urbn_source.R
\name{urbn_source}
\alias{urbn_source}
\title{urbn_source}
\usage{
urbn_source(string, size = 8)
}
\arguments{
\item{string}{character string for a source statement}
\item{size}{font size for the source}
}
\value{
a grob format... |
faeab45ae3e5a610b88b34d2ba1dc3754a834040 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /mcga/inst/testfiles/ByteCodeMutation/libFuzzer_ByteCodeMutation/ByteCodeMutation_valgrind_files/1612802243-test.R | b8a4c3a1d1b8f228c126744ad3ba35e35f4e9a61 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 479 | r | 1612802243-test.R | testlist <- list(bytes1 = c(1903260017L, -1L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903260017L, 1903233537L, 2105376125L, 587923455L, -65536L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0... |
be1d0fd8f172890496b4d7e34df3dff92845a34d | 914c515a6c85356ee148950f5d93be59ee112b4c | /R/dependentData_Auxilliary.R | 465b09960d672be42eb866298f7a50a601b6b7db | [] | no_license | Mufabo/Rrobustsp | 917fb8e9a353ffc7a838544fa5cd1d39eae34f6c | 1700f4fed27e63cec6dfb67a14a208d8f46e2418 | refs/heads/master | 2022-06-14T22:15:50.045970 | 2022-06-05T12:13:32 | 2022-06-05T12:13:32 | 222,286,547 | 0 | 3 | null | 2019-12-19T14:17:46 | 2019-11-17T17:36:00 | R | UTF-8 | R | false | false | 3,203 | r | dependentData_Auxilliary.R | #' eta
#'
#' @param x: numeric vector, the signal
#' @param c: numeric, default = 1
#'
#' @examples
#' library(Rrobustsp)
#'
#' x <- rnorm(5)
#' eta(x)
#'
#' @note
#'
#' file location : dependentData_Auxilliary.R
#'
#' @export
eta <- function(x, c = 1){
x <- x / c
y <- x
y[abs(x) > 3] <- 0
y[abs(x) > 2 & abs... |
0aa881f16283f241b9695044750e3cdb0012499c | ed633d145dfa8b32511b3cb13ba95b822e2559c8 | /R/reff.chn.r | de23fdbf2765531a376e02eddfd740a1835fe169 | [] | no_license | wendellopes/rvswf | 51a09f034e330fbb7fd58816c3de2b7f7fdba9dc | ee243c3e57c711c3259a76051a88cc670dfe9c4b | refs/heads/master | 2020-05-19T19:38:18.987560 | 2016-09-11T22:57:37 | 2016-09-11T22:57:37 | 19,242,694 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 501 | r | reff.chn.r | #' Reference function Cylindrical Hankel function (1,2).
#'
#' @details The Cylindrical Hankel
#' function given by \eqn{h_n^{(1,2)}=j_n(x)\pm y_n(x)}.
#' @param x The argument of the function
#' @param n The order of the function
#' @param type 1 or 2.
#' @export
reff.chn<-function(x,n,type=1){
if(abs(type)!=1){... |
235d0db78d5864b007d79aa8782ceec406c29b10 | 93005dac4be25d7fb42cc09a08ab303439c32c3c | /man/checkPolygonsHoles.Rd | 73bea185b1f3db8e482a0aef5f129ee00bcc3c2e | [] | no_license | cran/maptools | 826901e049878087bdc9deb1b2e8076b43d5f79b | 729e48b3254b5d8ccb85ca4bbbb32bbd7d07b026 | refs/heads/master | 2023-07-24T12:12:31.900627 | 2023-07-18T19:10:02 | 2023-07-18T20:30:36 | 17,697,281 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,044 | rd | checkPolygonsHoles.Rd | \name{checkPolygonsHoles}
\alias{checkPolygonsHoles}
\alias{rgeosStatus}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Check holes in Polygons objects}
\description{
The function checks holes in Polygons objects. Use of the rgeos package functions is prefered, and if rgeos is available, they w... |
ec8541c96d715e747b0a5a8a52e79547ed1b458d | 3a3e3e050d6deb8544ff2838ab4b698a492d2eb7 | /roadmap/scripts/03.correlated_regions_sig_heatmap.R | 0b1fe3bff1a3941633ac42cb910be0438a670e02 | [] | no_license | jokergoo/epik | f9eb86c38eab46913a2787296fe5e023caf70f2b | 16ae793be02554ddda89401a888327dce87c5a4a | refs/heads/master | 2021-01-12T05:25:21.598897 | 2019-09-27T08:04:03 | 2019-09-27T08:04:03 | 77,924,435 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 12,781 | r | 03.correlated_regions_sig_heatmap.R |
library(methods)
library(GetoptLong)
cutoff = 0.05
meandiff = 0.1
rerun = FALSE
GetoptLong("cutoff=f", "0.05",
"meandiff=s", "0",
"rerun!", "rerun")
BASE_DIR = "/icgc/dkfzlsdf/analysis/B080/guz/roadmap_analysis/re_analysis"
source(qq("@{BASE_DIR}/scripts/configure/roadmap_configure.R"))
neg_cr = rea... |
26b69072cf8cf980997d9eede2e4431aa0adfb57 | a07d07ddc490dcbcef631a3aae46fe8cba0dc21b | /My Part/Power Comparison/compare_code.R | bc46684063b8cbe6f82fbef8dd02a8c3a0ec8d2d | [] | no_license | Sweata1501/nonparametric_project | 20a5e1df7b81bd247316869cccfe6c649eadfa79 | 3fff9660b0038ce5f097e56dd78f625f6806bca8 | refs/heads/master | 2021-04-18T10:13:33.207465 | 2020-04-13T15:59:06 | 2020-04-13T15:59:06 | 249,533,826 | 0 | 0 | null | 2020-03-31T05:19:59 | 2020-03-23T20:12:26 | R | UTF-8 | R | false | false | 691 | r | compare_code.R | library(ggplot2)
library(dplyr)
library(reshape2)
Distribution=rep(c("Exponential","Gamma","Logistic","Normal","Weibull"),each=1000,times=3)
Statistic=rep(c("F","Capon","Savage"),each=5000)
theta=rep(seq(1,5,length=1000),times=15)
df=melt(cbind(Parametric,Capon,Savage)) %>% select(-variable) %>% mutate(Distribu... |
22ae4a53b9461d0236f0abac574e236aeeb3ce89 | bb3e734d36602499409c51f70cf30ea016898e39 | /plot3.R | c6ec7188bee581b34a38441be6ed3c2261c4955f | [] | no_license | CotrimJR/ExData_Plotting1 | d853f0145f77dfd928e1befeba906356725b4f6b | 58969fe17541ea8f079d57375da5def2d3bbd5f8 | refs/heads/master | 2021-01-19T07:16:51.723809 | 2017-04-07T23:08:58 | 2017-04-07T23:08:58 | 87,533,875 | 0 | 0 | null | 2017-04-07T10:19:17 | 2017-04-07T10:19:16 | null | UTF-8 | R | false | false | 3,351 | r | plot3.R | # ============================================================================================
# File: plot3.R
# ============================================================================================
# Reference: UC Irvine Machine Learning Repository,
# Dataset : https://d396qusza40orc.cloudfront.net/exdata%2Fda... |
041c38dc29f517a19db2a2c2cc4db5ea5914a654 | e26420970229a0c55ec092168797ed6e42f5708f | /tests/testthat/test_preprocess_sample_colors.R | 75b7c5f3b26e91ef77db4f9fead009a550591ff6 | [
"MIT"
] | permissive | kcha/psiplot | cd26b3d39301d20d82e453e4882b60a214afb600 | 7c840f69f7b321b8690e9f3f03191a0cd699a371 | refs/heads/master | 2022-06-03T02:54:17.403767 | 2022-03-18T15:30:05 | 2022-03-18T15:30:05 | 27,505,866 | 2 | 1 | MIT | 2022-03-18T15:30:06 | 2014-12-03T20:20:07 | R | UTF-8 | R | false | false | 1,869 | r | test_preprocess_sample_colors.R | context("Test re-ordering of event data using configuration file")
config <- data.frame(Order=c(1,2),
SampleName=c("Sample1", "Sample4"),
GroupName=c("ESC", "Neural"),
RColorCode=c("red", "blue")
)
formatted_psi <- format_table(psi)
fo... |
7271db13b63594f209ff07358dd5e7b03bc0c75a | 16cc0f4bb42a2081e38f358cc202dcd8e9f30faf | /R - Básico Mapas/Script_R_Mapas.R | 960dea15b8bcd89546858c26f8cadaecc082e370 | [] | no_license | Prof-Rodrigo-Silva/ScriptR | d71d76998a391656ffde4ca04111334df6775346 | 67bc2e7ba7bad07597849d1ecaf342632a913777 | refs/heads/master | 2022-07-31T15:15:07.568838 | 2022-07-15T17:52:07 | 2022-07-15T17:52:07 | 181,120,450 | 13 | 16 | null | null | null | null | ISO-8859-1 | R | false | false | 14,131 | r | Script_R_Mapas.R | #####################################################################################
# Introdução
# Conteúdo:
#1. Mapas Básicos
#2. Mapas com Shapefile + ggplot2
#3. Mapas com Pacote Leaflet
#4. Mapas com Google API( Dependendo do Tempo )
###############################################################################... |
dc143e090cfc5e958578c9dd12e1c82582111dac | a411bbff2c1718c7d1823155138ef10a0c27da89 | /iLCM/global/match_language.R | 27b9c331d942bb1a38c91b0c0ff2f36377a6e998 | [] | permissive | ChristianKahmann/data_science_image | 5a0e805ca2cc2d3d8d99ab652dffb4b470dc102f | eb06582d6eaa521a59193ffbfc55c0a0a3eaa886 | refs/heads/master | 2020-10-01T13:53:17.130831 | 2020-01-14T12:48:00 | 2020-01-14T12:48:00 | 227,551,494 | 0 | 0 | MIT | 2019-12-12T07:58:15 | 2019-12-12T07:58:14 | null | UTF-8 | R | false | false | 431 | r | match_language.R |
match_language_udpipe<-function(lang_abbr){
if(lang_abbr=="de"){
lang<-"german"
}
if(lang_abbr=="en"){
lang<-"english"
}
if(lang_abbr=="es"){
lang<-"spanish"
}
if(lang_abbr=="fr"){
lang<-"french"
}
if(lang_abbr=="it"){
lang<-"italian"
}
if(lang_abbr=="nl"){
lang<-"dutch"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.