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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6e8e849fd86ce64f520187ad451451109aea07de | 29585dff702209dd446c0ab52ceea046c58e384e | /slfm/R/RcppExports.R | 48321d20450b1f51db975fed1df85007d088dc83 | [] | 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 | 820 | r | RcppExports.R | # This file was generated by Rcpp::compileAttributes
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
gibbs <- function(x, ite, a = 2.1, b = 1.1, gamma_a = 1, gamma_b = 1, omega_0 = 0.01, omega_1 = 10, degenerate = FALSE) {
.Call('slfm_gibbs', PACKAGE = 'slfm', x, ite, a, b, gamma_a, gamma_b, omega_0, omega... |
4b4752ae4bd8a60c9148e796652e0646716e7f83 | 0d74c6026340636cb7a73da2b53fe9a80cd4d5a5 | /simsem/man/bindDist.Rd | ffe946e5783980f488d6b15a23e92ae7c6511a0f | [] | no_license | simsem/simsem | 941875bec2bbb898f7e90914dc04b3da146954b9 | f2038cca482158ec854a248fa2c54043b1320dc7 | refs/heads/master | 2023-05-27T07:13:55.754257 | 2023-05-12T11:56:45 | 2023-05-12T11:56:45 | 4,298,998 | 42 | 23 | null | 2015-06-02T03:50:52 | 2012-05-11T16:11:35 | R | UTF-8 | R | false | false | 4,694 | rd | bindDist.Rd | \name{bindDist}
\alias{bindDist}
\title{
Create a data distribution object.
}
\description{
Create a data distribution object. There are two ways to specify nonnormal data-generation model. To create nonnormal data by the copula method, \code{margins} and \code{...} arguments are required. To create data by Vale and ... |
938e3479969018842584b370a0fc44cdae1e4005 | b7714ee147af95f48861922fff12e501f6f60f35 | /R/moreq.r | 3d78729c8d3e12c2c14eed78b5cb34ed09918f7a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | peterlharding/PDQ-v5 | 452eed667bf319901b9fcc459bea48c7dd2fe481 | b6ff8dd958dbae85b4402745539898b711760713 | refs/heads/master | 2023-06-26T19:14:24.907596 | 2021-07-17T02:38:45 | 2021-07-17T02:38:45 | 3,510,379 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,722 | r | moreq.r | ###############################################################################
# Copyright (C) 1994 - 2009, Performance Dynamics Company #
# #
# This software is licensed as described in the file COPYING, which #
... |
f26c1a20e1b71e10684e5e0dc06870bc69c8a8e0 | df2b962f7a7dee56c5358cd83c73aa4c051df512 | /R/genZ2ZS.R | ac5c014694ce5bb063aac236bf41b9edffd9af45 | [] | no_license | cran/noia | 787eb4f7ab9db691f11baff8fa9cde6c2f2c8660 | dacfb23d55f7fb1cb0d22428ff6aafb5d14a5b79 | refs/heads/master | 2023-03-24T11:03:33.032673 | 2023-03-08T07:10:10 | 2023-03-08T07:10:10 | 17,697,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,694 | r | genZ2ZS.R | genZ2ZS <-
function (genZ, reference = "F2", max.level = NULL, max.dom = NULL,
threshold = 0)
{
"strrev" <- function(ss) {
sapply(lapply(strsplit(ss, character(0)), rev), paste,
collapse = "")
}
ans <- list()
N <- nrow(genZ)
ans$smat <- 1
ans$zmat <- as.matrix(rep(1, N... |
28b21e36e1c6d0a180520cbad383ad69cbf24b7e | 6cb21fd5e1726ed181c30c2dc07823df207a2cee | /data-raw/DATASET.R | 0c930d9506e3d3a58f9d0901ac80f98c83a3adea | [] | no_license | Reed-Statistics/westCoastMeasles | 5e814b7b26304323cb864d1783da0ee90e0efabe | 917cd3f1f7ee7d4f1e5c69dfa2488b90d35ab1ee | refs/heads/master | 2021-03-05T22:57:05.011612 | 2020-03-09T23:08:22 | 2020-03-09T23:08:22 | 246,160,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 955 | r | DATASET.R | ## code to prepare `DATASET` dataset goes here
library(tidyverse)
library(stringi)
options(digits=7)
california <-read.csv("~/wrangling_measles_data/california.csv")
california<-california %>%
mutate(lat = as.character(lat), lng = as.character(lng))%>%
mutate(lat = as.numeric(lat), lng = as.numeric(lng))%>%
sele... |
4201161eb8198a31f5b6ae5d4acd7b87827719e2 | c87c6397713f7573ce404c7a4bbbc989cc06a974 | /TransMeta/R/SKAT_Optimal_Integrate_Func_Davies.R | cb0ca088e357a5e4ca76fb08ba249a8ea7310221 | [] | no_license | shijingc/TransMeta | bb663b70b6b9adbbdf8362e0e2eceac7a0adaa9c | 3a3a8e4b601f4158b613a030c92ddf53b4fdce89 | refs/heads/master | 2020-03-19T08:56:07.606527 | 2018-06-05T23:41:46 | 2018-06-05T23:41:46 | 136,246,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 768 | r | SKAT_Optimal_Integrate_Func_Davies.R | SKAT_Optimal_Integrate_Func_Davies <-
function(x,pmin.q,param.m,r.all){
n.r<-length(r.all)
n.x<-length(x)
temp1<-param.m$tau %x% t(x)
temp<-(pmin.q - temp1)/(1-r.all)
temp.min<-apply(temp,2,min)
re<-rep(0,length(x))
for(i in 1:length(x)){
#a1<<-temp.min[i]
min1<-temp.min[i]
if(min1 > sum(param.m$lambda) * 10^4){
te... |
0f57345dce383164770f6b9968741a3629728e4b | a495b873b0c82b31b5a75ca3547c9febf3af5ddc | /array/SNPArray/utilitys/summarizeCNVCalls.r | bfc46f676c600c8077b2c05ade30fd316293b21e | [
"Artistic-2.0"
] | permissive | ejh243/BrainFANS | 192beb02d8aecb7b6c0dc0e59c6d6cf679dd9c0e | 5d1d6113b90ec85f2743b32a3cc9a428bd797440 | refs/heads/master | 2023-06-21T17:42:13.002737 | 2023-06-20T12:35:38 | 2023-06-20T12:35:38 | 186,389,634 | 3 | 2 | Artistic-2.0 | 2022-02-08T21:45:47 | 2019-05-13T09:35:32 | R | UTF-8 | R | false | false | 6,382 | r | summarizeCNVCalls.r | ## Written by Eilis
## Summarize CNV calls
## identify any overlapping with known SCZ loci or pathogenic CNVs
findOverlapsMinProp<-function(query, subject, pThres){
# function to find overlap between two Granges based on minimum proportion
hits <- findOverlaps(query, subject)
overlaps <- pintersect(query[queryHits(... |
f729508cd0ca12ad61a3bea88f0216c9802aefb2 | 5f20fd1380bc9d06273778e729e45d8d9960c284 | /RNASeq.R | bf03a0c5d8b2ac4f1fbc742da68a4efbe98f2346 | [] | no_license | hzorkic/machine_learning_and_molecular_docking_for_drug_discovery | 8e009e19c5a175e8973f1bad65c64be5923b1441 | a6052bca25e68b3fa6559ac5d860c8cc956439e7 | refs/heads/main | 2023-04-16T05:06:19.828482 | 2021-04-29T03:36:07 | 2021-04-29T03:36:07 | 354,099,001 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,051 | r | RNASeq.R | # In this report, we are primarily interested in understanding how the
# differences in gene expression between healthy and canerous tissue samples
# from The Cancer Genome Altas (TCGA)
##################
# load libraries #
##################
library(DESeq2)
library(tidyverse)
library(ggplot2)
library(matrixStats)
l... |
8b0bf7203e7addfac50224532ea9b5fbcb44129b | 51b73b87bbddaa2aa06bd1753c2cd575ddc756a6 | /GROWTH CURVE ANALYSIS.R | af2ee36ea3f9ea6c25231b1d12fa1587e4f5f3a6 | [] | no_license | aravinddharmaraj/HBGDKi | d92876547d24946a02c782b7d89eed816783beee | 14860309d1153fbfca5d5a939e915d47c3279e29 | refs/heads/main | 2023-08-13T00:33:30.885254 | 2021-09-22T07:05:48 | 2021-09-22T07:05:48 | 395,277,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,505 | r | GROWTH CURVE ANALYSIS.R | cat("\f")###to clear console
# LOAD REQUIRED LIBRARIES
library(ggplot2)
library(reshape2)
library(plyr)
library(dplyr)
library(stringr)
library(caret)
library(grid)
rm(list = ls()) # CLEAR ENVIRONMENT
# SET WORK DIRECTORY
setwd("C:\\Aravind work file\\BF_data\\MERGING FILES\\data_clean")
#####... |
bdedcaa0f8aaa79274f3b6c446ba3f3bd2016811 | 97a10d4612014d6f1b3cae279d70983f876b7586 | /man/do_gnomonic.Rd | 428d523698d1e231e901b3cf710f1c38d4412675 | [
"MIT"
] | permissive | mdsumner/pproj | c3dfe25404bb1c0063dd0c8960e5d48ff8559d93 | 9aa2c45c8efd71c5bc19ad1d6b58a93834cbbebb | refs/heads/main | 2023-02-06T08:47:59.650271 | 2023-02-05T22:55:54 | 2023-02-05T22:55:54 | 24,184,076 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 336 | rd | do_gnomonic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gnomonic3d.R
\name{do_gnomonic}
\alias{do_gnomonic}
\title{Illustrate gnomonic}
\usage{
do_gnomonic()
}
\value{
nothing, side effect a 3D plot
}
\description{
May need 'rgl::rglwidget()' if you don't have interactive graphics.
}
\examples{
#d... |
f83b77d4c3622ac8ff6e8794eb23978ec3d8fbdd | 34bc20cc310551137ed8ec787bd48d910db640ad | /VallelujaAnalysis.R | 0e1bcd8bff8f95c16285c5673a61ab13ce858dfc | [] | no_license | MrYeti1/raceRnalysis | dc05cf15a02c4845f3677995f2aa39ad55b0ad43 | 7f8c0a2507080eba4b529b0a9bc537d3390637a8 | refs/heads/master | 2020-03-19T14:36:50.931772 | 2020-03-09T14:05:31 | 2020-03-09T14:05:31 | 136,631,653 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,520 | r | VallelujaAnalysis.R | devtools::install("raceRnalysis")
library(raceRnalysis)
library(dplyr)
library(ggplot2)
resultsUrl <- "https://www.rootsandrain.com/race6667/2018-mar-25-tweedlove-whyte-vallelujah-glentress/results/filters/overall/ajax/filtered-content/race-results?/filters/overall/&format=overall&sex=&s1=-1"
resultsUrl <- "https://ww... |
e55221d0eab361eadb99e841563ada08edde93d9 | 849d92ba959d1c7d3b06aeffccdd242a26604f75 | /R/hkHoliday.R | a16cbfcbb368993b40b409ed3a901dc8279b161e | [] | no_license | chainsawriot/hongkong | 2b9458f5474a2c6aef40d787f172002140a6fc88 | 02ccd4081199c6447f0070fb3a8487e9922b0c4a | refs/heads/master | 2021-01-13T02:22:17.239571 | 2017-01-06T15:54:05 | 2017-01-06T15:54:05 | 9,976,717 | 2 | 5 | null | null | null | null | UTF-8 | R | false | false | 6,700 | r | hkHoliday.R | #' Calculate Hong Kong public holidays
#'
#' This function is to calculate public holidays in Hong Kong for a given year
#' @param yearInt The integer value of year
#' @param push Boolean, to push the public holidays in Sunday to the nearest workday
#' @param withSunday Boolean, also included all Sundays as public holi... |
3bbe8d0e9282238de5efa6a97abbe9afe30e330d | 4d36492368e067bdc821b2ee8bc5a9d524458c9a | /tests/testthat/test_contains.R | ae55073e94096185027cdb15d751468d5133a9c9 | [] | no_license | cran/processcheckR | 27e177bb799cb9ebfe4708ea56c9bb99cbd1685f | bb4e4523ae7b65f4f37adcf3eb1380735f8887a3 | refs/heads/master | 2022-10-15T01:29:09.022611 | 2022-10-03T08:40:08 | 2022-10-03T08:40:08 | 152,093,595 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,493 | r | test_contains.R |
#### eventlog ####
test_that("test contains on eventlog with arg n = 1", {
load("./testdata/patients.rda")
contains <- patients %>%
check_rule(contains("check-in", 1))
expect_s3_class(contains, "eventlog")
expect_equal(dim(contains), c(nrow(patients), ncol(patients) + 1))
expect_equal(c... |
21c1a73522f8e19bb2094a3f596fdd97a0026c2f | adc56496cdb5b8a6a446b61f23a144cc069ed062 | /R/qog.R | c51c132ffc7b5822086a08d51f5d4e5ca58060fb | [] | no_license | qianmingax/qogdata | d9c060a046c9eab44a1e4f78db8d0d5fd6615ece | 3700ec9c0c6554d9de7bd93aaa0a1270f1052719 | refs/heads/master | 2021-01-18T17:08:31.369984 | 2013-11-09T14:11:35 | 2013-11-09T14:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,869 | r | qog.R | #' Get Quality of Government datasets in \code{xtdata} format
#'
#' Function to download Quality of Government (QOG) data and load it as a data
#' frame in R. The result carries an \code{\link{xtdata}} attribute that can be
#' passed to the \code{\link{xtmerge}} panel data method. Please visit the
#' QOG Institute w... |
93b7d59390304c66b1fe2a786cdc452e8d9335fd | 2b08ece86eaffc1f19966bac10349fc8e1a31adf | /volcano2.r | 64a90a1292286947edbc55d283a2d007ec99bb69 | [] | no_license | pengweixing/FFPE-ATAC | 9450f4eabade3298bdb16677ba5984f3d45a9b64 | 107bd6ee771c3ecacf0c57ec5d25cac2ab709b4e | refs/heads/master | 2023-05-28T12:00:04.462962 | 2021-06-13T09:51:23 | 2021-06-13T09:51:23 | 374,730,658 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,533 | r | volcano2.r | #################################################
# File Name:volcano.r
# Author: xingpengwei
# Mail: xingwei421@qq.com
# Created Time: Sun 30 May 2021 11:31:54 AM UTC
#################################################
library(ggpubr)
library(ggthemes)
args = commandArgs(T)
deg.data <- read.table(args[1],header=T,s... |
2553b9909e0f5deb77f095527b97569bd6b51394 | 377d9dcc37f618d684b65f7f1ea1f953627df4fe | /code/config/jalaun_params.R | 2ab1f70148341571d2c7c6447f162fa080455b6c | [] | no_license | jimmyokeeffe/jimmyokeeffe-Farmer_irrigation_behavior_sociohydrological_model_WRR2018 | 6b568f094a5b96c48421561611c7fed881916e35 | e4bfe9cea28ae6c7b80d3eada42f8df3ee7582b1 | refs/heads/master | 2020-03-23T00:05:32.586182 | 2018-07-13T12:37:37 | 2018-07-13T12:37:37 | 140,843,737 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,059 | r | jalaun_params.R | ## Author : Simon Moulds & Jimmy O'Keeffe
## Date : 10 Jan 2018
## Parameter file for Jalaun district
## region characteristics
## ######################
farm_area = 10000 ## m2 (i.e. one hectare) **checked**
## hydrological parameters
## #######################
## aquifer specific yield
Sy = 0.15 ... |
ff3315e80013645f932ae05f1243b63d5ab84ec6 | 3cae4ac748f5dd272973da4f25a42dcbac54511b | /R/dfa_zi.r | 16b91a49d2c8570400e28edf989890721766acaf | [] | no_license | openfields/des | 4ef8c4cf9ad4705c25c89d7d02bdbefe3429f438 | 1b1f76e06229ac46a8f9b38be063629715c9baec | refs/heads/master | 2021-01-10T05:59:04.130332 | 2016-09-26T19:37:49 | 2016-09-26T19:37:49 | 44,263,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,343 | r | dfa_zi.r | # DFA ZI
library(jagsUI)
#dfa = read.csv('/home/will/Documents/Stream/Abundance/qryDFA_counthabitat.csv', header=TRUE)
dfa = read.table('C:/Users/wfields/Documents/Stream/Abundance/qryDFA_counthabitat.csv', header=TRUE, sep=',')
y <- dfa[,14:16]
y[is.na(y)]<-0
nsites <- dim(dfa)[1]
ncap<-apply(y,1,sum)
ymax<-ncap
# s... |
950aff810317d169d4bc3a17787faff0da71659a | 4a082b465f43514425c0b19f8f2052ff770d7551 | /man/O_matrix.Rd | 97e9d3db7c5d3711ed5606942042796cc3274a17 | [] | no_license | bsaul/wgee | 04e69bced0c1111e2842c987ba5c66a98472f338 | 636c77cff009c2d8a831c9d627276941a9ec86db | refs/heads/master | 2021-01-10T12:57:26.455578 | 2016-01-05T15:48:38 | 2016-01-05T18:47:50 | 48,764,972 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 388 | rd | O_matrix.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/matrix_computations.R
\name{O_matrix}
\alias{O_matrix}
\title{Cluster-level O matrix}
\usage{
O_matrix(D, W, V.inv)
}
\arguments{
\item{D}{matrix of derivatives of mean function}
\item{W}{weight matrix}
\item{V.inv}{inverse variance... |
ec60208a9f7284be3d8c7392b14c8757089d552e | 8c0f0f13707180d2fe7cd86db4618029d2bb84f3 | /australian/R/garch.R | 015f7c5752973013e9eadfdd24c45dec6e9cadcb | [] | no_license | 4350/grandslam | 23d030ae27b8da70d8e6bed0293db4ab470a442d | e5962ccded3bdfa68fff6d7cc6b2887525b43ffd | refs/heads/master | 2021-01-24T21:35:57.029066 | 2016-12-06T13:41:15 | 2016-12-06T13:41:15 | 68,724,045 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,082 | r | garch.R | #' @importFrom rugarch ugarchfit
NULL
#' Fit GARCH models to data
#'
#' @param garch List of ugarchspec
#' @param data TxN data points
#'
#' @return
#' @export
garch_fit <- function(garch, data) {
foreach(i = seq_along(garch)) %dopar% {
ugarchfit(garch[[i]], data[, i], solver = 'hybrid')
}
}
#' Turns GARCH fi... |
a719da7a9bc72652d1a1978330bd4c53edd1363a | 8a210793f5fba65e63cd29dc9f2a17c573488da8 | /man/ScoresPMF.Rd | e8909b744845bdfc2fb04e77ccefc61dcb290d12 | [] | no_license | ManuelPerisDiaz/MetaOdysseus | a29613137a783451788a01f7c2c63fa7e7542173 | 92f516186bfde6d70447608d7ea4859a4d53140c | refs/heads/master | 2022-12-29T06:04:29.770112 | 2020-10-14T12:06:09 | 2020-10-14T12:06:09 | 282,212,240 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,024 | rd | ScoresPMF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ScoresPMF.R
\name{ScoresPMF}
\alias{ScoresPMF}
\title{Scoring function for peptide mass fingerprint MALDI-MS experiment.}
\usage{
ScoresPMF(
sequence,
maldiTOF,
TheoreticalMass,
Total,
Mw,
write = TRUE,
save.name,
... |
28dc16a7bbb5f6e98e1a148ff50bff31267475b4 | fa4094e3eaa63df4c849918822acf0762e6c3f5f | /incl/withProgressShiny.R | 4d89d0cababe7008819bef70095539b90ee9772c | [] | no_license | HenrikBengtsson/progressr | 52a899b83054dcef3a6109cc8255e75203ac92a6 | 0dbb50edae6d5ff0b18d7d2981fadf0cbb1967d7 | refs/heads/develop | 2023-08-22T09:36:01.662246 | 2023-08-10T23:31:44 | 2023-08-10T23:31:44 | 180,921,189 | 273 | 12 | null | 2022-08-23T15:09:36 | 2019-04-12T03:12:33 | R | UTF-8 | R | false | false | 735 | r | withProgressShiny.R | library(shiny)
library(progressr)
app <- shinyApp(
ui = fluidPage(
plotOutput("plot")
),
server = function(input, output) {
output$plot <- renderPlot({
X <- 1:15
withProgressShiny(message = "Calculation in progress",
detail = "Starting ...",
va... |
8161d64ef65a4f62b983accba78eca9d826ec0ed | 1e820fe644a039a60bfbee354e50c775af675f6b | /DAofExp/07_crossed_factors_drilladvance.R | 9001660b52bfe49f1e9cb120060fd9cfaa466b74 | [] | no_license | PyRPy/stats_r | a334a58fca0e335b9b8b30720f91919b7b43d7bc | 26a3f47977773044d39f6d8ad0ac8dafb01cce3f | refs/heads/master | 2023-08-17T00:07:38.819861 | 2023-08-16T14:27:16 | 2023-08-16T14:27:16 | 171,056,838 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,134 | r | 07_crossed_factors_drilladvance.R | # drilladvance.r, drill advance experiment, Table 7.12, p231
# page - 220
# Daniel (1976) described a single replicate 2×2×2×2 experiment to
# study the effects of four treatment factors on the rate of advance
# of a small stone drill. The treatment factors were “load on the drill” (A),
# “flow rate through the... |
40995c59f17a7ccf34c1dc4a2ae2fc1d3253cf0d | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /An_Introduction_To_Statistical_Methods_And_Data_Analysis_by_R_Lyman_Ott_And_Michael_Longnecker/CH4/EX4.15/Ex4_15.r | c68fd8f18dcfcf1f332a1a091b79bfe1a3e7b9b0 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 39 | r | Ex4_15.r | # Page No. 174
pnorm(23,mean =20,sd=2) |
8491315520c250ed5e0982ebe4d5a48176b9db85 | 84b88096eb178671541f030cf0c31ea3dbeec633 | /plot6.R | a151e891094f646285ee339e68fa03a17a29d276 | [] | no_license | muhsalem/Ex-Data-Analysis-Project-2 | 72bc6a992ef0429109d846596bdefd539d4e0376 | 58a23ad799b61163e4cd6d4ea4b8f7bf243c2597 | refs/heads/master | 2020-03-27T08:04:41.549189 | 2018-08-26T21:58:50 | 2018-08-26T21:58:50 | 146,218,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 860 | r | plot6.R | library(dplyr)
NEI <- readRDS("~/exdata-data-NEI_data/summarySCC_PM25.rds")
SCC <- readRDS("~/exdata-data-NEI_data/Source_Classification_Code.rds")
NEISCC <- merge(NEI,SCC,by.x="SCC",by.y="SCC")
NEISCCVehicle <- NEISCC[which(grepl("Vehicles",NEISCC$EI.Sector)==TRUE),]
NEISCCVehicle4 <- subset(NEISCCVehicle,NEISCCVehicl... |
07f2423d86026646922f0d241217e6764bcb5b8e | abdd957fa4e827cd09abae7f2d839c0ab816c644 | /lab7_Rcode.R | 33a373d5d44def0dd9fce1569dccc9deb154ca82 | [] | no_license | quantt94/Multivariate-Analysis | c8e0972d7246d635a7cfa64a9c86770bbec912fa | e631a15c3f03991dc57dfa6dddd0984801a0aebb | refs/heads/master | 2020-06-20T15:22:27.868056 | 2019-07-16T09:56:55 | 2019-07-16T09:56:55 | 197,162,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,310 | r | lab7_Rcode.R | #Stat 372, Lab 7, Feb.29, 2016
################################################################################
#Topics covered:
# 1. K-nearest neighbor
# 2. Logistic regression
# 3. Classification tree
# 4. Regression tree
################################################################################
#consider ... |
4a4a9937c87e4f0932ef9d31f80c26bb29be62a7 | 48194198e8b75c22c9e9dab61e7a2c918a5c5a7e | /R/util_fcns.R | 985fc79341c0ecf5154614495d98a592ea86752f | [] | no_license | amcrisan/minCombinR | 95a5de4c9ddb17204ccf28d87ae0f2c5d745687a | a435a2432a5a2e80559f3f0702eda9716641259f | refs/heads/master | 2020-03-18T14:58:31.390064 | 2020-02-09T02:45:53 | 2020-02-09T02:45:53 | 134,878,729 | 0 | 1 | null | 2019-03-31T20:13:23 | 2018-05-25T16:11:24 | HTML | UTF-8 | R | false | false | 5,907 | r | util_fcns.R | #Handy function to dynamically combine aes for ggplot
`+.uneval` <- function(a,b) {
`class<-`(modifyList(a,b), "uneval")
}
#might go elsewhere, but essentially, calls a shinyapp like a function to allow a user to annotate their image
#and create the image file
#An important detail : all the spatial mappings are dep... |
88e5e9100b624030a7f0424c836923c079a9be55 | f586cc3599f8685ffed9f10befa8bef0dd761cd4 | /man/exer.Rd | 6a63dfa39e7bdadd91bc0f6fd7187d5a1e938170 | [] | no_license | cran/mrt | 87bd3d0b56c73c95146ab1c1d8703f8a303e3c89 | b2ad5f7db7432499d81f827812b2cfbf068132c1 | refs/heads/master | 2020-04-07T15:45:38.872572 | 2009-08-17T00:00:00 | 2009-08-17T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,078 | rd | exer.Rd | \name{exer}
\alias{exer}
\docType{data}
\title{Getting Children to Exercise}
\description{
These data are from Hill et al. (2007) and are used to illustrate multilevel modeling.
}
\usage{data(exer)}
\format{
A data frame with 503 observations on the following 12 variables.
\describe{
\item{\code{wc... |
8b7d4e4dce22bb45c765b36bf16cc58d73410d44 | 5d56068241b13bdc9bfe52d431e5313f0f0642a0 | /01 Datos reales/01_tratamiento.R | 2edec6c575256499a59eb64d708b63a5e400361e | [] | no_license | cesarqb/University-Satisfaction---in-R | 30bc87c2a42b497e194a78fa8f2f16986423021d | 683f7f750d40d2e4ee3099637e3d0c37820dd43f | refs/heads/master | 2022-09-19T21:54:21.937926 | 2020-05-20T05:12:59 | 2020-05-20T05:12:59 | 265,457,049 | 0 | 0 | null | null | null | null | IBM852 | R | false | false | 18,999 | r | 01_tratamiento.R | #==================================================================
rm(list = ls())
gc()
library(ggplot2)
library(tm)
library(stringr)
library(topicmodels)
library(hunspell)
# LECTURA DE DATOS
setwd('C:/Users/Cesar Quezada/Dropbox/KAGGLE/00. Concurso 00 - Titanic')
train_txt <- read.csv('train_universidad... |
386dea5912e2d364249bf78725667273146ad839 | 36f2ea4eec9d53b985d7c4a6fc0a6253b4fad3bd | /R/voter_profile.R | 690df76e74be594bf7c19f969078f27d93d90478 | [] | no_license | cran/electionsBR | e887429e825b6ab169bef84331133017d1622ce2 | 89e125adf0ea55b6f4ad87fd88f29cc11d900a51 | refs/heads/master | 2021-07-12T09:02:46.741519 | 2021-01-30T12:50:02 | 2021-01-30T12:50:02 | 66,004,313 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,793 | r | voter_profile.R | #' Download data on the voters' profile
#'
#' \code{voter_profile()} downloads and cleans data on the voters' profile aggregated by state, city and electoral zone.
#' The function returns a \code{data.frame} where each observation corresponds to a voter profile type.
#'
#' @param year Election year (\code{integer}... |
2d7bf16b4ff3e0e206653e93b8c6571edac029c4 | 0701fd92013875af4a3d2bd86e30cd04a1388758 | /R/filter_cip.R | 08187321ce421f540eefcedf0382a5462acec65e | [
"MIT"
] | permissive | MIDFIELDR/midfieldr | cc6a90c4b40c012e0a5795ff4ddd273cf38b6355 | 90cfecec130ac806484f72bcc9bc689bdc8df9ac | refs/heads/main | 2023-08-18T17:04:37.287531 | 2023-08-13T18:45:19 | 2023-08-13T18:45:19 | 113,693,328 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,199 | r | filter_cip.R |
#' Subset rows that include matches to search strings
#'
#' Subset a CIP data frame, retaining rows that match or partially match a
#' vector of character strings. Columns are not subset unless selected in an
#' optional argument.
#'
#' Search terms can include regular expressions. Uses `grepl()`, therefore
#' non-cha... |
700acdbff9e7d7ef2a31d8d3d0f7b223361454d1 | 843e69e884fb254866fb320d332725b126e5d23e | /TandemRepeatsAnalysis.R | 639144e84c20e988a036b659797620adc6499c27 | [] | no_license | Aragret/comparative_genomics_OLD | b86d31f97ab45223319120de2f32937549922533 | e9cbfa028ca7c29dddd73d1fb79156b164b16734 | refs/heads/master | 2020-03-09T18:11:59.363689 | 2018-04-10T18:23:43 | 2018-04-10T18:23:43 | 128,926,456 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,103 | r | TandemRepeatsAnalysis.R | # вот моя строчка
rm(list=ls(all=TRUE)) # remove everything from R memory (old variables, datasets...)
user = 'Alina'
if(user == 'Alina'){
setwd('/home/aragret/Alina/COMPARATIVE_GENOMICS')
}
tr = read.table('Derived_data/TRFinder.txt', sep='\t', header=TRUE)
hist(tr$PercentMatches)
countCharOccurrences <- func... |
13c13bde3eb216663a486c6228eff5429da6bab5 | 5ae175b758a82b868eb44b769de3c97c2b3cbd8d | /Chage Point Model/Code convert.R | 7ae4424f1dc7d37bcb97ebf76c6bfc77ca8744ee | [] | no_license | kstatju/Social-Network-Analysis-and-Change-Point-Model | 78e131ff35ff80374d52182e6bad2358f19765f8 | 546392da7ec907dcbbb7629c69fe13ef33981ac2 | refs/heads/master | 2023-02-05T12:10:00.700717 | 2020-12-16T01:50:41 | 2020-12-16T01:50:41 | 82,312,234 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,547 | r | Code convert.R | # implicit none
# real(8), allocatable :: data(:), xbar(:,:), s(:,:), dev(:), dev2(:), &
# fract(:,:,:), window(:)
# real(4), allocatable :: tmax(:,:)
# integer :: nord, nwind, ignore, i, j, k, n, isim, nsim, ij, kl, where, &
# nsurv, last, iglist(5) = (/0, 20, 25, 30, 40 /), ig, ialf, &
# nordlist(5) = (/2... |
3a5312434d465915fa0d8dbe9793c8af52e6682b | db0e244c6d3c1aa0bef5d5906750d8f94c388387 | /analyses/que_es_un_consens/prepare_data.R | 9e2488cee99502b0eeb7704d73f36e40ac6d6617 | [
"MIT"
] | permissive | joebrew/vilaweb | ea9796aa7a5d4f0676608618ba975dac95346000 | f0b028c07484c750d75a101308c3937d81b40d80 | refs/heads/master | 2021-06-09T02:00:21.502677 | 2020-09-07T22:20:03 | 2020-09-07T22:20:03 | 159,472,849 | 23 | 9 | NOASSERTION | 2021-06-01T23:59:21 | 2018-11-28T09:01:42 | HTML | UTF-8 | R | false | false | 19,518 | r | prepare_data.R | # Libraries
library(vilaweb)
library(tidyverse)
library(ggplot2)
library(tidyr)
# Functions
mround <- function(x,base){
base*round(x/base)
}
round_percent <- function(x) {
x <- x/sum(x)*100 # Standardize result
res <- floor(x) # Find integer bits
rsum <- sum(res) # Find out how much we are missing
... |
44a2f7be356bc4a117b17ed820942e0bd359eacd | fd0622e97276bba2c04d3c2fcba902cdfb65e214 | /packages/nimble/R/types_symbolTable.R | b8997d10de19bfc75cb2a25217564c555fe75310 | [
"GPL-2.0-or-later",
"BSD-3-Clause",
"CC-BY-4.0",
"GPL-2.0-only",
"GPL-1.0-or-later",
"MPL-2.0"
] | permissive | nimble-dev/nimble | 7942cccd73815611e348d4c674a73b2bc113967d | 29f46eb3e7c7091f49b104277502d5c40ce98bf1 | refs/heads/devel | 2023-09-01T06:54:39.252714 | 2023-08-21T00:51:40 | 2023-08-21T00:51:40 | 20,771,527 | 147 | 31 | BSD-3-Clause | 2023-08-12T13:04:54 | 2014-06-12T14:58:42 | C++ | UTF-8 | R | false | false | 41,951 | r | types_symbolTable.R | ## Actual symbolTable class is at the end
buildSymbolTable <- function(vars, type, size){
symTab <- symbolTable()
for(i in 1:length(vars) ) {
if(is.list(size) )
symTab$addSymbol( symbolBasic(name = vars[i], type = type[i], nDim = length(size[[i]]) , size = size[[i]] ) )
else
... |
d5ae0ee86b5a8f6a9d03746101d4968cd7a15934 | 094bacd8cf2e5908b711fdb17c1b3dc085351dad | /R/make-iris-combined.R | 15c9b473c67b62d5eef7eaa5cddb5b3a18442599 | [
"MIT"
] | permissive | tiernanmartin/drakepkg | 8cb1d8d152dedb539fd2d960508ff1d64963e7a4 | f6ce672e19328678939a926e38ad8f9191d266e8 | refs/heads/master | 2020-03-24T01:21:12.150866 | 2020-03-06T19:52:08 | 2020-03-06T19:52:08 | 142,332,694 | 29 | 12 | NOASSERTION | 2020-03-06T19:52:10 | 2018-07-25T17:29:56 | R | UTF-8 | R | false | false | 696 | r | make-iris-combined.R | #' @title Make Two Versions of Iris
#' @description Make an \code{tbl} object that combines the true \code{iris} dataset
#' with a resampled version.
#' @param iris_int_raw the \code{iris} dataset stored within the \code{link{drakepkg}} package
#' @param iris_ext_raw the \code{iris} dataset downloaded from the web
#... |
6d312e94afe5ca75c2284407b4b91da665dc4516 | 68906be46b2043e45ea3fc11769f8dbc60aeba6d | /profile_R_version.R | e3c997f37d9ae9af42ac7b4c7ea90224f3ce5ada | [] | no_license | mcasl/AMORE | 87808d7cc2e4ea0d6b036bbb2d08c8121e7ea541 | e71d417f76a033c54478d526aa0254735ba73281 | refs/heads/master | 2023-04-05T13:36:10.777574 | 2023-03-27T17:31:00 | 2023-03-27T17:31:00 | 56,980,333 | 1 | 0 | null | 2023-03-27T17:31:03 | 2016-04-24T15:54:00 | HTML | UTF-8 | R | false | false | 357 | r | profile_R_version.R | library(AMORE)
newff(c(1,50,1), learning.rate.global=0.01, momentum.global=0.01, error.criterium='LMS', hidden.layer='tansig', output.layer='purelin', method='ADAPTgd') -> net
P <- runif(1000)
T <- P ^2
system.time( train(net, P, T,n.shows=10,show.step=100) )
# index.show: 10 LMS 5.41332627268925e-06
# user syst... |
1f526f4bcd002eeff6e1312b435dd6a67b17051e | 66a60bd87e025448b488ee37a4727c017da27404 | /ui.R | 16ded98a2ac7e804f613d20f491dd7542d497db8 | [] | no_license | rosagradilla19/uberNYC | da229783d61a480dd8db17dd4f9ae48dbafae513 | 07018e78ea8bc3862e2414a1343aea9b986406e0 | refs/heads/master | 2021-03-08T10:09:50.629961 | 2020-10-02T18:51:55 | 2020-10-02T18:51:55 | 246,339,617 | 0 | 1 | null | 2020-04-08T16:16:47 | 2020-03-10T15:34:33 | Jupyter Notebook | UTF-8 | R | false | false | 4,899 | r | ui.R | library(shiny)
library(plotly)
library(lubridate)
library(dplyr)
# Define UI for application that draws a histogram
shinyUI(
navbarPage(
title = "NYC Uber",
tabPanel("About",
div(img(src="https://raw.githubusercontent.com/jmhobbs29/uberNYC/master/skyline... |
2aef88e66129c8ccb565d1f058bbd9a3b9d06677 | 179c53ca385f8918ad3daa587d1a080eff73e31d | /using textual and binary.R | 349be1b878baa27087a61313e294afe4e41c0eca | [] | no_license | pujoseno/-Menggunakan-Format-Tekstual-dan-Biner-untuk-Menyimpan-Data-Pada-R | 03f5301c492b13deafc774f5abc781848a9bb2c0 | 2298be20d029020c24854e5d63a49fe285cce527 | refs/heads/master | 2020-03-22T08:45:18.416172 | 2018-07-05T03:14:34 | 2018-07-05T03:14:34 | 139,788,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 902 | r | using textual and binary.R | setwd('F:/blogs/otw upload/using textual and binary/')
###1menggunakan dput dan dump
y <- data.frame(a = 1, b = "a")
y
## Print 'dput' output to console
dput(y)
## Send 'dput' output to a file
dput(y, file = "y.R")
## Read in 'dput' output from a file
new.y <- dget("y.R")
new.y
x <- "foo"
x
y ... |
523c77ca4b0280d991774a038f5e6e8e06348140 | 82bc1bf05918e8e7f30e7f3725bae5f4587c193e | /clustering/millennial.R | 82cd7c14366a1fc66553f58c51b4c773dc86b7ea | [] | no_license | jack1981/millennial | f99bf0c1c020d8bcef4634c5764685a2fe04b7c5 | 19050779bc6dfb161c9387fa7cbdccc67565d729 | refs/heads/master | 2021-05-03T21:17:21.324083 | 2018-02-18T06:57:40 | 2018-02-18T06:57:40 | 120,380,266 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,954 | r | millennial.R | #install.packages("factoextra")
library(factoextra) # clustering algorithms & visualization
# ---- Read in the data ----
data <- read.table('C:/Data/millennial')
col <- read.table('C:/Data/millennial_column')
colnames(data) <- col$V2
# ---- Sample/separate data ----
n <- dim(data)[1]
p <- dim(data)[2]
... |
a8a639dd21376c0a1f86995d657cb60894b0b3bb | 324858f2e5b71d81667889e53a0eb0b90b04f91e | /Week 6/create_dataset_predict_gname.R | bd4b144ef2207aa3d02a103165980450b6bfe213 | [] | no_license | paulafortuna/tum-data-mining-lab | bb48e7abdca9598e24da681ed475580058ca2f0a | f9b79a15c8bc808a2dba5f064ec5930b39bc16c1 | refs/heads/master | 2020-03-18T19:23:37.274506 | 2017-01-31T19:26:21 | 2017-01-31T19:26:21 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,967 | r | create_dataset_predict_gname.R | library(dplyr)
# Have the 5 groups with more incidents for each area
df <- read.csv("../terrorism.csv", stringsAsFactors = FALSE)
top_names <- df %>%
filter(gname != "Other") %>%
group_by(region_txt, gname) %>%
summarise(freq = n()) %>%
arrange(region_txt, desc(freq)) %>%
group_by(region_txt) %>%
filter(r... |
f59bcd3edb0102ca1db68df946e16de11ea9fa0f | 78e46929f37c1292ac7a6dd1f75a62ee86562dd6 | /R/sources_oceanographic.R | 75598443a4936f0af1e6d2275673eb6417dff0e4 | [
"LicenseRef-scancode-public-domain"
] | permissive | whigg/blueant | e1a5ec25d404e5e25c7dcb7d36ca1dc5c77f0045 | 67a535a316520a68472727149467430e6eef5fc7 | refs/heads/master | 2021-05-21T16:55:29.097980 | 2020-03-26T04:15:59 | 2020-03-26T04:15:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,497 | r | sources_oceanographic.R | #' Oceanographic data sources
#'
#' Data sources providing oceanographic data.
#'
#' \itemize{
#' \item "CSIRO Atlas of Regional Seas 2009": CARS is a digital climatology, or atlas of seasonal ocean water properties
#' \item "World Ocean Atlas 2009": World Ocean Atlas 2009 is included here for convenience but has b... |
30579869972715dbf977da34dc740e0843720cd3 | 5b5cf88112f5239e19302d8cfebff60ca3e2199a | /scripts/univariate/univariate-cond.R | fdf148e95762e47ba62b8900b8759b373791e1b9 | [] | no_license | eth-mds/bmi | e32ffc57717151c6b79954fb9c64b5c78dc5473e | c45a80e6e4295636364b2d8a4c7860b5cf531465 | refs/heads/main | 2023-08-12T06:33:26.860001 | 2021-10-01T14:47:42 | 2021-10-01T14:47:42 | 371,434,398 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,563 | r | univariate-cond.R | library(ricu)
library(ggplot2)
library(cowplot)
library(gridExtra)
library(grid)
library(stringr)
library(magrittr)
library(officer)
library(assertthat)
library(boot)
library(data.table)
library(icd)
root <- rprojroot::find_root(rprojroot::has_file(".gitignore"))
r_dir <- file.path(root, "r")
invisible(lapply(list.fil... |
6f5ee92459cbd29a51a2c7b458d163864e0ad020 | 0c8e62fd2f465d30440d2da7f8028fe238b82b38 | /plot1.R | 707480059841c74443a91e8ec9b609de8bbeb0aa | [] | no_license | horrorkumani/ExData_Plotting1 | 61034d1caa370da021e960f126767b81c7867331 | 74f7888dd6d75c1f00a9fd75b11f8f4558fdf39a | refs/heads/master | 2020-04-06T14:33:48.822639 | 2015-11-09T14:17:57 | 2015-11-09T14:17:57 | 42,268,282 | 0 | 0 | null | 2015-09-10T20:13:09 | 2015-09-10T20:13:09 | null | UTF-8 | R | false | false | 526 | r | plot1.R | data <- read.table("C:/Users/HP/Documents/GitHub/Huong/household_power_consumption.txt", header = TRUE, sep = ";", dec = ".")
data$Date <- as.Date(as.character(data$Date), format = "%d/%m/%Y")
d1<-as.Date("01/02/2007",format="%d/%m/%Y")
d2<-as.Date("02/02/2007",format="%d/%m/%Y")
echantillon<-data[data$Date==d1|data$Da... |
92a488b45481c257dfc99f6fa0ed0feeafed1c9f | b3a191d2b4c7e3011375135b87f3dd876cf05111 | /R/binSum.R | 15a5daff814ea71fa9f7e7c5b58194151b35f2b5 | [] | no_license | tdhock/PeakSegJoint | 3d712782cf601f4e0478653ebab7e4eea5684d04 | c80a250b00f6e6a60a0c4dcb3d02e98c9d95cebd | refs/heads/master | 2023-04-27T05:14:53.542606 | 2023-04-24T23:53:31 | 2023-04-24T23:53:31 | 33,544,447 | 6 | 3 | null | 2020-02-14T19:26:32 | 2015-04-07T13:22:43 | R | UTF-8 | R | false | false | 2,773 | r | binSum.R | binSum <- structure(function
### Compute sum of compressed coverage profile in bins, using fast C
### code.
(compressed,
### data.frame with integer columns chromStart, chromEnd, count.
bin.chromStart=0L,
### Base before first bin.
bin.size=1L,
### Bin size.
n.bins=2000L,
### Number of bins.
empty.as.zero=FALSE
###... |
bc2d71d0c746ff63225f06bb00e01beeff9590a9 | fdfca978d2343d3c8eb2b9459e073008678d83be | /R/change data/change data 4-3.R | 2aacdf81c48dfb2dbcfb53a0f739308fd7862e01 | [] | no_license | kaiyu33/getData | dd37d7e28ecac1335f4b06cf1d3402fd91c8a5b5 | d5f93122c5926b22e30e242d7b0ddf8c7f5bb8e7 | refs/heads/master | 2021-01-10T09:37:52.736265 | 2016-04-27T12:08:56 | 2016-04-27T12:08:56 | 54,831,347 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,034 | r | change data 4-3.R | library(dplyr)
a<-dir("F:/000","csv")
length.a<-length(a)
for (m in 1:length.a) {
x1_path<-paste("F:/000/",a[m],sep = "")
csvv<-read.csv(x1_path,header = FALSE,stringsAsFactors = FALSE)
colnames(csvv)<-c("date","vol_S","vol_P","P_S","P_H","P_L","P_E","P_D","exc")
numdata<-sapply(count(csvv),"[",1)
finddat... |
8c91e1e5024af015da0833d5d504c1192a88244c | 8700bdbb18994d172d76b75e41f7097137c547b9 | /man/date_yw.Rd | 8312f4016df8495a9886b7dae7131105ccdf89f2 | [] | no_license | cran/dint | 1b598cd4fd01b18f31d00d6354d2481ab5e41bad | 0245ef537511db22996f4283cae5f388d75636ea | refs/heads/master | 2022-11-01T23:44:08.177571 | 2022-10-17T05:52:38 | 2022-10-17T05:52:38 | 145,910,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,231 | rd | date_yw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/date_yw.R
\name{date_yw}
\alias{date_yw}
\alias{is_date_yw}
\alias{as_date_yw}
\title{A Simple S3-Class for Year-Isoweek Dates}
\usage{
date_yw(y, w)
is_date_yw(x)
as_date_yw(x)
}
\arguments{
\item{y}{year}
\item{w}{week (... |
4271ae2e255eaecca12809a4c6c2df7d3895a2c8 | e78ae3fdd458fc4b8bee318025614d5d6fd2af8f | /R/cdtDownloadRFE_tamsat.R | 827585123c7b2903dfe96f519d70b6fa67b5b4e9 | [] | no_license | rijaf-iri/CDT | b42fd670adfad59c08dcf990a95f9f1ebea9a9e4 | e1bb6deac6e814656bf5ed13b8d4af4d09475c9d | refs/heads/master | 2023-07-27T09:16:15.407835 | 2023-07-21T02:16:42 | 2023-07-21T02:16:42 | 136,133,394 | 10 | 12 | null | 2018-09-28T03:56:51 | 2018-06-05T06:53:11 | R | UTF-8 | R | false | false | 7,365 | r | cdtDownloadRFE_tamsat.R |
## toexport
tamsat3.0.download.iridl <- function(GalParams, nbfile = 3, GUI = TRUE, verbose = TRUE){
dlpath <- "https://iridl.ldeo.columbia.edu/SOURCES/.Reading/.Meteorology/.TAMSAT/.TARCAT/.v3p0"
vartime <- paste0(".", GalParams$tstep, "/.rfe")
rlon <- unlist(GalParams$bbox[c('minlon', 'maxlon')])
rl... |
31d3cc3e9ac1669b79fb9e6e9fb35af1c49e574e | bd4b57d4f1677d6789513b52f1db752f756936ca | /man/rtnorm.Rd | 311fec77cad076afaa753307f9c9ecf64d3058ef | [] | no_license | cran/MCMCglmm | dd45441b7dac39b065e186e5960f68f8650c7133 | fdd8d46550344b9be1ed429ac8fea24ad0a40761 | refs/heads/master | 2023-07-06T00:24:58.456332 | 2023-06-30T20:00:02 | 2023-06-30T20:00:02 | 17,680,516 | 4 | 16 | null | null | null | null | UTF-8 | R | false | false | 682 | rd | rtnorm.Rd | \name{rtnorm}
\alias{rtnorm}
\title{Random Generation from a Truncated Normal Distribution}
\description{Samples from the Truncated Normal Distribution}
\usage{
rtnorm(n = 1, mean = 0, sd = 1, lower = -Inf, upper = Inf)
}
\arguments{
\item{n}{integer: number of samples to be drawn}
\item{mean}{vector of means}
\item... |
ee0700b05639d33967ce983247bc1b758d98cf62 | 08c60f2455bb51281fbf438b8872ee7909b92038 | /R/getNAcores.R | 11d7879de14d2262c51158e78cdaa7265bdeb2e7 | [] | no_license | PalEON-Project/stepps-baconizing | c7d8bf75a500e136b3bf5fbae5a6d263bcf16afc | 859686630f80423dde11470cfef594ada7bc14f6 | refs/heads/master | 2020-05-21T22:24:27.828697 | 2019-11-15T06:56:31 | 2019-11-15T06:56:31 | 25,702,499 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,541 | r | getNAcores.R | #' @title Pull all North American Pollen sites from Neotoma
#' @param version The version number of the run.
#' @description This code takes the current version number of the paper, and then searches for all sites with pollen data within North America, returning the \code{download} objects associated with those sites.
... |
436b27341d543fe65eaa77bf5676d7318aa3b22f | 1754113fcf2b24c711ceb1d4b43513cb908cfd32 | /MakeEpisode.R | 63636cc1ad92447d1c573fcb4bf722c630b11d39 | [] | no_license | wuandtan/userInteractivity | 86bc8e26ce9bbe36f2bf95c12e69540b325c3bac | a22b8ba7fcd497942941279050e20614f776c4be | refs/heads/master | 2016-09-06T18:56:13.961695 | 2015-02-26T10:46:30 | 2015-02-26T10:46:30 | 31,362,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,005 | r | MakeEpisode.R | #merge the client info with the server info. Look for matching episodes from client info for server info
MakeEpisode <- function(server_episode, client_episode)
{
client_name <- names(client_episode[[1]])
server_name <- names(server_episode[[1]])
episode <- server_episode
for (i in (1:length(server_episode))... |
ecaa779ada8f2b4e022387351c271de3595382b2 | df02e774e44afcaa5ba88d6475f54ee179395f08 | /R/globals.R | 8230f49a1d873e6af3f78557caf6bc9cef812707 | [] | no_license | digitmix/shiny.reglog | 616c6a5bd3dd3020bac8995b9474ef1ed6f13453 | f9f156848734f82497b7c5e2fd2d8f3783ccd2a5 | refs/heads/master | 2023-07-12T16:56:52.034787 | 2021-08-15T12:29:38 | 2021-08-15T12:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | globals.R | # to remove "no visible binding for global variable" with dplyr functions
utils::globalVariables(c("timestamp", "user_id", "user_mail")) |
1677cb3859620885607657b0a6cf10110ef598ed | f6cd6c90a922fa8e1e5bd49b7b044f5a30bb2a47 | /数据汇总plyr包.R | 97ca123048d694264bcc26b6ad1b98d0ca6027d2 | [] | no_license | pan060757/RScripts | f5a1a2ac707a81457e1f670e7503f957042f7daa | 9a6e75b25a7abc04065eaabd873a998d610420a5 | refs/heads/master | 2021-05-06T12:26:52.425237 | 2018-03-16T13:27:18 | 2018-03-16T13:27:18 | 113,050,722 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 647 | r | 数据汇总plyr包.R | library(plyr)
head(tips)
aggregate(x=tips$tip,by=list(tips$sex),FUN=mean)
ddply(.data=tips,.variables='sex',.fun=function(x){mean(x$tip)})
ratio_fun <- function(x){
sum(x$tip)/sum(x$total_bill)
}
ddply(tips,.(sex),function(x){mean(x$tip)})
ddply(tips,.(sex),ratio_fun)
iris[,-5]
data <- as.matrix(iris[,-5])
result... |
2e02201a1baa489d0787714a261c99c311e2d317 | 09af8d471405b60e75d12a3350cfb26ca4ef3104 | /R/print-method.R | 847312cbe52f7a9bcc4fb2a05daf1799cc727e88 | [] | no_license | justinjm/googleCloudAutoMLTablesR | 20faad2f77856af31e6b44dd6807435863b235e4 | 5477eb53b6a11c01de763b85048feaf44dca87be | refs/heads/master | 2022-12-23T21:42:59.441080 | 2022-12-10T14:56:18 | 2022-12-10T14:56:18 | 181,203,745 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,116 | r | print-method.R | #' @export
print.gcat_location <- function(x,...){
cat("==Google Cloud AutoML Tables Location==\n")
cat0("name: ", x$name)
cat0("locationId: ", x$locationId)
}
#' @export
print.gcat_dataset <- function(x,...){
cat("==Google Cloud AutoML Tables Dataset==\n")
cat0("displayName: ... |
2f367318ba4e36ab5356ba53a6d76e1796a95cce | 9a022eb9368eb9c68f22f469cba5473a5fa135bc | /Creating Cluster Charts.r | c548086d5306c841debceb66a49b0a8f2887261f | [] | no_license | Trapman/Intro-R | 1a4ba3fab7402abdc4e87fe657cbc18d8a4522cc | b4458941f370a90fa5865049e4d3917a4776e909 | refs/heads/master | 2020-12-22T10:26:57.696325 | 2020-02-02T21:40:12 | 2020-02-02T21:40:12 | 236,751,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,107 | r | Creating Cluster Charts.r | # Help dispay the CONNECTIONS between data in your dataset
# INSTALL AND LOAD PACKAGES #############################
pacman::p_load(pacman, rio, tidyverse)
# pacman: for loading/unloading packages
# rio: for importing data
# tidyverse: for so many reasons
# LOAD AND PREPARE DATA #############################
# Save... |
be93a44fd75afb0b0ad09d7aa6f90c7e601ba4ac | e63df753a1819766d0b40dbf035ebaaa2c0d1526 | /tests/testthat/test41Variofaces.r | 1f9e203ff01e8334bf61adf733db4aca47c894a5 | [] | no_license | cran/asremlPlus | cf74d404854a1f2b37e5acefe7fae86132b01a3e | 7a5b7b2124a5b736fc49b99f91eba4b6a41b5fb3 | refs/heads/master | 2023-08-31T16:36:03.614939 | 2023-08-24T07:30:12 | 2023-08-24T09:31:08 | 36,970,354 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,404 | r | test41Variofaces.r | #devtools::test("asremlPlus")
context("model_selection")
asr41.lib <- "D:\\Analyses\\R ASReml4.1"
cat("#### Test variofaces using Atieno with asreml41\n")
test_that("Variofaces_asreml41", {
skip_if_not_installed("asreml")
skip_on_cran()
library(dae)
library(asreml, lib.loc = asr41.lib)
library(asr... |
286d24171bdc853c3fce31ffe076d4dba01b317a | 634bd18366c38657340d42ffa7556bed0dd148e9 | /CDM/Dash_kor/1_CDM Mapping.R | bd55a265126573daeaff1d455afe3820e348d26a | [] | no_license | hong-sj/Digital_Health | 993fbc714bd42f2e60dc98be05f7b24184e539a3 | 0f53c0477078e40dcfab13c0d452c15a14f4d0e3 | refs/heads/main | 2023-08-26T07:06:51.642223 | 2021-11-01T07:07:30 | 2021-11-01T07:07:30 | 340,215,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,600 | r | 1_CDM Mapping.R |
## 외부 검증용 구현 코드
# update: 2021.04.21
# 패키지 호출
pacman::p_load(tidyverse, lubridate, readxl)
# 경로 설정
mypath <- "directory/"
# 샘플데이터 호출: 접수취소, 진료외방문 등 제외된 데이터
er <- read.csv(paste0(mypath, '/sample.csv'))
sapply(er, class) # class 확인
# 유형 변경
er$id <- as.character(er$id) # 환자번호
er$in_time <- as.POS... |
0a105bc33be6188c595d762bbf93f71f57ec83cf | 590be74a6cf2274ef988d789680f5b9fb13fd10d | /Lycopene_data_transformation.R | c1ee0606a03621c54da242f209245b123cf0a6da | [] | no_license | arielhecht/cell-metrics | 13ab5de8d5a0583a93a13c90f785a4d78cc646c7 | 37974a400626d8bc795c0cd4aaa2a880e8b08916 | refs/heads/master | 2020-03-09T20:57:07.378072 | 2018-04-10T23:45:06 | 2018-04-10T23:45:06 | 128,997,141 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,333 | r | Lycopene_data_transformation.R |
#Cell metrics project, lycopene data, analysis notebook
#This notebook reads in the data from the lycopene cell metrics experiments (e26-28, e30-32, e37-38, e44-48),
#and outputs the summary tab file csv file, which is the tidy data frame with all factors in columns and all 256 observations in rows
#original file nam... |
a608aa188302c0cc1b9b641153d7b92dcb2a05bb | 89dd9d04de821baff8080ee3d49c458eb2796631 | /TapsProblem#3.R | b43cec2467c29b29ce166aa39d68d867538743d4 | [] | no_license | joneldominic/R-Analyzer | 08f122fba26555b91d786d159ecc4bcb8ef732f3 | b8ad260ff8c50c820d1756756379c94c710ef672 | refs/heads/master | 2020-03-22T01:42:58.126025 | 2018-07-01T11:52:47 | 2018-07-01T11:52:47 | 139,324,976 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 802 | r | TapsProblem#3.R | #Taps
#Problem #3
> library(rJava)
> library(xlsxjars)
> library(xlsx)
> dataKey <- read.xlsx("StatExer_Taps.xlsx", "keyboard")
> head(dataKey)
Size Feel Speed
1 Small Mushy 33
2 Medium Mushy 36
3 Large Mushy 37
4 Small Mushy 31
5 Medium Mushy 35
6 Large Mushy 34
> anovaKey <-... |
c0fa303be9f9e9cf84fd535427314484c24152eb | a48797beca55474d7b39676389f77f8f1af76875 | /man/get_leafnames.Rd | 7d1835d92d5c6efd9c9cbc3c96a5d603dea3cb68 | [] | no_license | uqrmaie1/admixtools | 1efd48d8ad431f4a325a4ac5b160b2eea9411829 | 26759d87349a3b14495a7ef4ef3a593ee4d0e670 | refs/heads/master | 2023-09-04T02:56:48.052802 | 2023-08-21T21:15:27 | 2023-08-21T21:15:27 | 229,330,187 | 62 | 11 | null | 2023-01-23T12:19:57 | 2019-12-20T20:15:32 | R | UTF-8 | R | false | true | 335 | rd | get_leafnames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/toposearch.R
\name{get_leafnames}
\alias{get_leafnames}
\title{Get the population names of a graph}
\usage{
get_leafnames(graph)
}
\arguments{
\item{graph}{An admixture graph}
}
\value{
Population names
}
\description{
Get the population name... |
a646708d82ca7c4751685df7ceb027c098efccac | 97b3532a7a44e9085c2231daa1d0e45a8fc507c3 | /old_source/man/read_sql.Rd | 8a54ccca20f1d39845e0cb9d3fee91062fa04554 | [] | no_license | kamapu/gisrepos | 577757744d6e1ca3f15b39c875eb1e72e997ccc2 | 17c9da9bd96745ef424a27fe7e92b1f14ced4407 | refs/heads/master | 2021-02-11T06:28:37.043588 | 2020-10-27T11:35:37 | 2020-10-27T11:35:37 | 244,464,383 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 836 | rd | read_sql.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_sql.R
\name{read_sql}
\alias{read_sql}
\title{Read SQL scripts and split it in SQL statements}
\usage{
read_sql(file, end = ";", comment = "--", ...)
}
\arguments{
\item{file}{A character value indicating the path to the script that have... |
2ba83c772e1a39c0dabaf6e9754aa9c6d09f69e3 | ea620ed454ef2c94844222f3cf88a5a7329c189e | /CONEW.R | 9c15c3ab03981c4427561a6eafb8bd8633923dfe | [] | no_license | JadynWumanqing/Statistical-Learning | a3b343452611945522b8c2fea41c4fa4a20252e9 | cdc1a1a946a752d69af82b4a018e5d2cb8c8b5f5 | refs/heads/master | 2022-07-26T21:20:39.021046 | 2020-05-20T23:17:11 | 2020-05-20T23:17:11 | 265,615,895 | 0 | 0 | null | 2020-05-20T16:08:36 | 2020-05-20T15:58:20 | null | UTF-8 | R | false | false | 15,528 | r | CONEW.R | rm(list=ls())
cat("\014")
library(randomForest)
library(ggplot2)
library(gridExtra)
library(glmnet)
#Data Source: https://data.world/usafacts/coronavirus-in-the-us
#Background: The dataset contains confirmed Covid-19 cases by U.S. counties from January 22nd, 2020 to May 18th, 2020.
setwd(getwd())
co.ori = na.omit(... |
1f696f6cf28191572a29a922dce696838ae93dc0 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlecustomsearchv1.auto/man/Context.Rd | 4566f53046447b0c1c49c45642474168f1529f66 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 773 | rd | Context.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/customsearch_objects.R
\name{Context}
\alias{Context}
\title{CustomSearch API Objects
Lets you search over a website or collection of websites}
\usage{
Context(facets = NULL, title = NULL)
}
\arguments{
\item{facets}{No description}
\item{t... |
a62c870f3e5c5e42dc724dcf254fbf2e266287ae | 9647dfddfea006d498c389dc50bf97204e8134fb | /DataPlotting.R | acab314fbf03b27beb35871f359858677faa0aee | [] | no_license | Libardo1/Walmart-Forecasting-NN | 9e39a0e5e1ba6554ede4c061f1772b7d4b41a2d7 | ccf241410c428b70b45f50d8de8517a35c7006e1 | refs/heads/master | 2020-03-20T18:28:26.116221 | 2014-12-01T21:47:38 | 2014-12-01T21:47:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,350 | r | DataPlotting.R | # Title: DataPlotting.R
# Author: Ssurey Moon
#
# Reference:
# https://www.kaggle.com/c/walmart-recruiting-store-sales-forecasting
#
# Plotting data of Walmart store 1 deapartment 1
#rm(list=ls())
setwd(".")
## @knitr check_na
stores = read.csv("stores.csv", header=TRUE)
train = read.csv("train.csv", header=... |
7bc5af35d0061a74ec623b4a21ea0917af208c10 | 0851201c22e6dbd907445c7b6fbd234cd007951c | /r-demo.r | 0831d8c52fa61e4afc4df9561fa786bc7e1961fd | [
"MIT"
] | permissive | namoshi/r-lecture | 1a369ba4896a7a48c48342f62df1c5ee19b98e9b | 9b2647782c1d65e0fcf267700f19feb089b53ae8 | refs/heads/master | 2023-05-26T12:36:34.447284 | 2021-06-02T05:23:32 | 2021-06-02T05:23:32 | 289,783,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17 | r | r-demo.r | demo(graphics)
|
a76bc5e99659efd614708e540238b968d5d6d34e | d912942f4cb3663c676b07c8c67e08be1610fc49 | /tests/testthat.R | 3654309afde09cd63185fd2b2749726c9c131152 | [
"Apache-2.0"
] | permissive | kristenpeach/metajam | d934b39a111efea048f333a7781b62053122cfd9 | baf56e44be685fcf51a40f7ebd1cabbabf5476fc | refs/heads/master | 2023-06-29T02:45:06.489680 | 2021-07-27T18:51:15 | 2021-07-27T18:51:15 | 254,719,583 | 0 | 0 | Apache-2.0 | 2020-04-10T19:32:54 | 2020-04-10T19:32:53 | null | UTF-8 | R | false | false | 58 | r | testthat.R | library(testthat)
library(metajam)
test_check("metajam")
|
8799cc1bd0c60ad629760cf54f48101b92925fd4 | 0ae72d31457a1da58d0447de51f2f48f31faa48b | /code/plot.R | 04bcffc0707e358bacab6a5193eca08fc17a2407 | [] | no_license | luiscape/data-for-frog | 047878dada7f88f00cbc7066d287dd12af86b817 | fc6292498bf92b98d80039b2668595c0b299df2b | refs/heads/master | 2016-09-06T04:50:19.357528 | 2014-07-08T05:15:27 | 2014-07-08T05:15:27 | 19,984,704 | 1 | 0 | null | 2014-06-24T16:30:41 | 2014-05-20T14:42:49 | R | UTF-8 | R | false | false | 1,256 | r | plot.R | # script for plotting metrics from
# the indicators data
print("loading from CSV...")
ind <- read.csv('frog_data/csv/denorm_data.csv')
print("loaded")
# de-factor numbers & date
ind$indValue <- as.numeric(ind$value)
ind$indDate <- as.Date(ind$period, format="%Y")
# filter for numeric indicators
ind <- ind[ind$is_num... |
d8582b599b8fb349e5b48b6a393d2d21b4b2ddb1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/clusterGenomics/examples/exData1.rd.R | 2bf832567f79eb0b1bab8c719920cc98a0bb51f7 | [] | 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 | 164 | r | exData1.rd.R | library(clusterGenomics)
### Name: exData1
### Title: A simulated data set with 5 true clusters
### Aliases: exData1
### ** Examples
#Get data
data(exData1)
|
fbb1646cbb7926ddf6f2ce89f1d573fab19e35e2 | f6123e538f3a530126c4673be2c4679e63f505bd | /R/cal.int.R | 7f3383912f6e14696fdfd7aefa5f9cafec25873b | [] | no_license | cran/pencopula | 8fe1124a1447f28b05a72648b4934c87336f75af | dc7411113e6a15bc9c15ebebb17e3348fb2cb30b | refs/heads/master | 2021-01-01T17:17:14.765551 | 2018-08-31T16:40:06 | 2018-08-31T16:40:06 | 17,698,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 577 | r | cal.int.R | cal.int <- function(len.k,len.b,q,help.env,knots.val) {
INT <- matrix(0,q,len.b)
INT.help <- rep(0,len.b)
for(i in 1:(len.k-(q-1))) {
count <- 0
for(j in 1:q) {
y2 <- knots.val$val[i+1]
y1 <- knots.val$val[i]
coef <- get(paste("coef",i,".",j,sep=""),envir=help.env)
y2 <- 1/(1:(q+... |
49e90a866c60b8cf1b0e84d11e2d642909e89c17 | 967686b34b44d8cecf94643563007a4624a3991e | /plot1.R | 76c554861742c441ea9782f17944f52261c818dd | [] | no_license | Ad-007/ExData_Plotting1 | 84f83f0d7c21c78bffcb76d2c48cb5a8b84a7ea3 | 8b09a05733adecd969ba47b0aad2f4c6fc540fc2 | refs/heads/master | 2022-12-05T03:13:49.203396 | 2020-08-12T19:48:46 | 2020-08-12T19:48:46 | 286,930,216 | 0 | 0 | null | 2020-08-12T06:02:31 | 2020-08-12T06:02:30 | null | UTF-8 | R | false | false | 364 | r | plot1.R | plot1<-function(){
png("plot1.png")
model<-read.csv("household_power_consumption.txt",sep = ";")
df1<-subset(model,Date=="1/2/2007")
df2<-subset(model,Date=="2/2/2007")
df<-rbind(df1,df2)
df<-df[complete.cases(df),]
hist(as.numeric(df$Global_active_power),col="red",xlab = "Global Active Power (kilowatts)"... |
3ccd45dad8bd4b7fffde3b75dbe5a91ecac0e894 | bd8cd68974cbe33217bf1ec07942dc38403f9aaa | /models/functions/read_fset.R | 125ef30dbd9c9f651805f227724ed179f34140ec | [
"BSD-3-Clause"
] | permissive | nzanl/pilot_clientprofielen_wijkverpleging_2020 | 4c67a1d9d1c6baf61a51bafe4e77574bcedea640 | d70349fd6af7700475a1cf4a839966b08702e875 | refs/heads/master | 2023-01-02T14:38:28.088643 | 2020-10-16T09:08:41 | 2020-10-16T09:08:41 | 304,569,754 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 676 | r | read_fset.R |
# LET OP heeft dir_pilot als global var nodig
# LET OP heeft ds_id als global var nodig
read_fset <- function(fs_id, aanb_type = "all") {
char_fs_id <- sprintf("%02d", fs_id)
char_ds_id <- sprintf("%02d", ds_id)
if(aanb_type == "nanda") {
aanb <- "aanb_nd"
} else if(aanb_type == "omaha"){
aanb ... |
59338e07ba2ab799ef8b5de7c01c75ab69a5a18c | 49113c060add5d1fc558b88b0cf47364d07cd7fd | /R Algos/main.R | 872d506d418986ad279f95dcc8a385a785b9606f | [] | no_license | datainvestor/Optimization-Algorithms | 1396b547db603997a478e33346b2a6b51ab1b23f | 452434d7250c10da780dcf55df9e40dc952f7a34 | refs/heads/master | 2020-03-22T05:47:13.153326 | 2018-07-03T14:31:55 | 2018-07-03T14:31:55 | 139,590,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,646 | r | main.R | rm(list=ls())
# Set WD
#setwd('')
# Load functions
source('numGradient.R')
source('steepestDescent.R')
source('simulatedAnnealing.R')
source('geneticAlgorithm.R')
# Objective functions:
# Ellipsoid:
myFun1 = function(x){
return( x[1]^2 + 10*x[2]^2)
}
# Schaffer function:
myFun = function(x){
return( 0.6 + ((sin(... |
9c695f17d06eac4ad6ef271e3f8fe55916e1bd3b | 58691c7e1dd0c241de7ec2898ea66b5d2e5f5f4a | /man/wine.Rd | 880ef7cb9c660db4f80c1c7f13ca4b1fb02d9771 | [] | no_license | PSegaert/mrfDepth | b7fefd1bc3e897c9b095fac0e0f4c2cf9b3ad45a | a1118ddeef1997c72aedbc65dc83b48deda807e3 | refs/heads/master | 2021-01-18T22:23:13.435472 | 2018-10-12T08:55:47 | 2018-10-12T08:55:47 | 87,052,317 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,392 | rd | wine.Rd | \name{wine}
\alias{wine}
\docType{data}
\title{Proton Nuclear Magnetic Resonance spectra of 40 different wine samples}
\description{
The original data set consists of Proton Nuclear Magnetic Resonance (NMR) spectra of 40 different wine samples in the spectral region from 6.00 to 0.50. This data set corresponds to the r... |
968c3d6dc878f2757928466ceaa3a41049942afe | a2aa9a8801f53ac1149fdbb3334d78ac0fe1782f | /cachematrix.R | b762e697cd240db567b999b136504cf761fc6f1e | [] | no_license | creativeCJ/ProgrammingAssignment2 | 1072a339c72710573ab772b5362653e1d892248d | 4bbcc4ff44c112430655aa2ae81ce73c6ab728fb | refs/heads/master | 2020-12-25T11:05:09.319023 | 2015-03-19T01:12:27 | 2015-03-19T01:12:27 | 32,361,426 | 0 | 0 | null | 2015-03-17T00:27:29 | 2015-03-17T00:27:28 | null | UTF-8 | R | false | false | 2,312 | r | cachematrix.R | # Example
# Caching the Mean of a Vector (Given: Assignment Notes)
makeVector <- function(x = numeric()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get <- function() x
setmean <- function(mean) m <<- mean
getmean <- function() m
list(set = set, get = get,
setm... |
ca5a73028c69933702a988ee6930f4cd2ccaf7f9 | 942ea2badaa89456ec24e020dea8a52a2eaebea9 | /server.R | 7ce39851525d961df51b270ef04089ed39e362ba | [] | no_license | marrakesh1400/DevelopDataProducts | 242a8324037010ab4c3451b3adc2a6ee652da4d3 | 1392ad82bef27d88d07a00142e36be54ec54a0d8 | refs/heads/master | 2021-01-10T07:18:51.360274 | 2015-09-27T16:43:39 | 2015-09-27T16:43:39 | 43,254,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,088 | r | server.R | # server.R
library(sp)
library(rgdal)
require(maps)
# function to convert longitude to UTM zone
UTMzone <- function(x){
zone <- ceiling((x + 180)/6)
return(zone)
}
# function to convert long/latitude to UTM coordinates
LongLatToUTM<-function(x,y,zone){
xy <- data.frame(ID = 1:length(x), X = x, Y = y)
coordina... |
e0d3ce572f4a735e9021e395eef2dfd423ae0d7e | 72f2bbe0b5ee226f514c8e317a7c6f999d3938f6 | /man/speed_set_vocabulary.Rd | e22588f13f44ecc2e6b223bee0b2db5c254b3a75 | [] | no_license | bethanyleap/SpeedReader | 4853f6fa2dda451b24b795e11063e843d8a0f9a2 | 8e3bcd38d03dabc3efa7f4f7981ce002aa79a5e8 | refs/heads/master | 2022-04-10T20:36:35.103520 | 2020-03-18T02:07:36 | 2020-03-18T02:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 914 | rd | speed_set_vocabulary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/speed_set_vocabulary.R
\name{speed_set_vocabulary}
\alias{speed_set_vocabulary}
\title{A function the reorgaizes vocabulary to speed up document term matrix formation using a string stem dictionary.}
\usage{
speed_set_vocabulary(vocab, term_f... |
ba4f51c469bcb7d2f58647ed1c6aaba4686b9fdc | b3441bbadf7f3fcf2346dd1cf0a20f181b2072df | /man/RspProduct.Rd | 859c67148188dbe6fb02fbf93e0a6f89d17ede9a | [] | no_license | HenrikBengtsson/R.rsp | 9bf203326c4c7baa1d5de37dcf9a499bfc9e3e18 | d3ab968460c7c130abcdbf1ea4252de1b5d9da2d | refs/heads/develop | 2023-04-13T00:43:33.830793 | 2023-03-18T04:37:29 | 2023-03-18T04:37:29 | 19,396,072 | 28 | 8 | null | 2022-03-08T03:34:46 | 2014-05-03T05:15:52 | R | UTF-8 | R | false | false | 2,112 | rd | RspProduct.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% RspProduct.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{RspProduct}
\docType{cl... |
bae1163894ea38e153fc9a7a4e0f5c1cbce7b9b6 | d42e16b46cfd11593c6f0ccef5bcc9b485c7f321 | /DPLYR_Missing_Values.R | e1548f2277ca93d811406a342c13e613077a7602 | [] | no_license | JBalloonist/Capstone | 7ec53442cbe21a70904fb53552d38d0ded17edf3 | c06b353c31ab84e9698bf5ee91e98ce832ae233f | refs/heads/master | 2020-04-23T08:28:18.215591 | 2019-03-03T17:47:47 | 2019-03-03T17:47:47 | 171,038,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,082 | r | DPLYR_Missing_Values.R | ##--------------------------------------------------------------##
## Universal Options -----------------------------------------##
##-------------------------------------------------------------##
options(java.parameters = "-Xmx8g")
options("stringsAsFactors" = FALSE)
options(pillar.subtle_num = FALSE)
options(scipe... |
425f796d30775f54d8216751498350fb048b1265 | 416550c21c0e3f49ae34ef843b4c352910c3c2f9 | /man/peaks-MsChromList-method.Rd | 1d485248d4d2bff83eb1034c2e193624dc8212ec | [] | no_license | thomasp85/MSsary | 34dc8e93fd13a33ba6f78598626bb134d6cb151c | bf182b67b072256c4ff16b8c72678109f899ecc5 | refs/heads/master | 2021-01-22T12:12:39.641522 | 2015-01-26T11:44:40 | 2015-01-26T11:44:40 | 25,297,627 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 333 | rd | peaks-MsChromList-method.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/MsChromList.R
\docType{methods}
\name{peaks,MsChromList-method}
\alias{peaks,MsChromList-method}
\title{Extract peaks from the EIC}
\usage{
\S4method{peaks}{MsChromList}(object, overlaps = FALSE, ...)
}
\description{
Extract peaks fro... |
28d0f032e9e216bf3b4bf477e29563e40ff1f06e | e462744bcbcf755cc2425a0cc49e46f4081bc565 | /server.R | 02fdd40f0c39fbe02e5df6bedb660425d20e3549 | [] | no_license | epahang/a8-building-applications | c6d2aebbe563eddb8c624ed495f3ea6cb9bc32db | cda4ed0cf5b8ffdf3270c72efe0141629948d0c4 | refs/heads/master | 2016-08-11T07:39:02.474531 | 2016-02-29T19:15:22 | 2016-02-29T19:15:22 | 52,762,660 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 883 | r | server.R | # Assignment 8 - Building Applications
# Set working directory
# setwd("~/Documents/INFO498F/a8-building-applications")
# Load packages
library(shiny)
library(dplyr)
library(plotly)
# Load iris data
data("iris")
shinyServer(function(input, output) {
createPlot <- eventReactive(input$render, {
runif(input... |
2df29be44a6dc8b62038b7963a35db958ebf8043 | 094bb4b008075c6c89d437f6a753e553ee01b03e | /man/to_bin.Rd | 8fa1c580b370fec004fda8047a951907249f4785 | [] | no_license | TommasoCanc/biomonitoR | 025264f6a6d69fae0e896a9f0a7874da7b184003 | 26136a8becdeb052adc5f8ff08d585024d50d223 | refs/heads/master | 2022-02-03T18:31:19.541891 | 2022-01-24T13:19:42 | 2022-01-24T13:19:42 | 141,422,404 | 0 | 0 | null | 2018-07-18T10:57:02 | 2018-07-18T10:57:02 | null | UTF-8 | R | false | true | 406 | rd | to_bin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/to_bin.R
\name{to_bin}
\alias{to_bin}
\title{Abundance to presence-absence}
\usage{
to_bin(x)
}
\arguments{
\item{x}{a \code{data.frame}}
}
\description{
This function transforms abundance to presence-absence.
}
\details{
\code{to_bin} will t... |
6c7d89b5a13b2c69ca3f6bbdec643d0e7e165feb | 36ca299bbc7c2d429e417a01490275f35ec84346 | /Regression/Polynomial Regression/Polynomial Regression Model.R | 6961919e413bb6fd4797867f37f495accd6c6a8c | [] | no_license | jpedroanascimento123/Data-Science-Projects | 5a5abc470bb5115a88ac7f3cba283420005b3d18 | c027443879aa23dd95b063cc119c17c9c8608ce7 | refs/heads/master | 2021-07-16T22:30:11.120189 | 2020-05-20T17:40:57 | 2020-05-20T17:40:57 | 161,149,527 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,744 | r | Polynomial Regression Model.R | # Import the dataset
dataset = read.csv('Position_Salaries.csv')
# Dealing with categorical data (transforming text into numerical) - since the Level column is the encoding of the Position column, we will use the Level and Salary columns only
# Need to subset the dataset to just have those two columns
dataset = d... |
6bed1239ccf2561874e241eef5cb870b8dbf72d4 | 8130e4802356a44450750d6f006c780fde71c64a | /10+ Guidelines for Better Tables in R.R | c057f5ad97b158a43ab37a906144fdd872083dcf | [] | no_license | chenbingshun98/bsdzp | ba40ab069a4a9abb06abdd8b619b153a87bd132f | e5404f88fd93d6bb752f237429e896207f6074e3 | refs/heads/master | 2021-10-12T05:41:59.539543 | 2021-10-04T06:02:29 | 2021-10-04T06:02:29 | 246,439,915 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,849 | r | 10+ Guidelines for Better Tables in R.R | library(tidyverse)
library(gt)
library(gtsummary)
library(tidytuesdayR)
# This works!
#gt(yield_data_wide)
# pipe also works!
tuesdata <- tidytuesdayR::tt_load(2020, 36)
key_crop_yields <- tuesdata$key_crop_yields
country_sel <- c("China", "India", "United States", "Indonesia", "Mexico", "Pakistan")
yield_data <- tu... |
41ca083de5b77898885b7a9e35814165f629a9ce | 572a321e0a898eb67cbf815789f8e880dd344cc5 | /Catchment/ColibanCatchment/app.R | f46c49abf253fdfd043d44a345f2aca79037682c | [] | no_license | Aggarch/hydroinformatics | 010a567a18136306f4c351fd566b7a60d4636243 | c32498154b8b437a56dd22a002ab8ab700548064 | refs/heads/master | 2022-04-21T17:01:45.146015 | 2020-03-29T21:17:59 | 2020-03-29T21:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,726 | r | app.R | ##
## Coliban Water - Reservoir Levels
##
library(shiny)
library(readr)
library(shinydashboard)
library(stringr)
library(tidyverse)
library(DT)
library(leaflet)
rain <- read_csv("Catchment/ColibanCatchment/rain.csv")
streamflows <- read_csv("Catchment/ColibanCatchment/streamflows.csv")
reservoirs <- read_csv("Catchme... |
de91ac32af97684cf144dce86200972c7f5bd4ac | f7105536a44be844d652f28e5c5b5bab0db66aa8 | /R/Lagutin/4.R | 0851c8c4c6823a2dad935e8a91715680d55f0d3f | [] | no_license | DmitryZheglov/code | e6f143c21287a250c01c639659b672fdef089bbe | fdec951c8dcf3145109076bc78f0646217b1b822 | refs/heads/master | 2022-12-13T11:43:00.962046 | 2019-08-12T18:58:55 | 2019-08-12T18:58:55 | 93,278,292 | 1 | 0 | null | 2022-12-07T23:49:07 | 2017-06-03T23:00:52 | Jupyter Notebook | UTF-8 | R | false | false | 1,525 | r | 4.R | x=read.table("C:/Users/user/Desktop/proga/R/Lagutin/9/1.txt")
x35=read.table("C:/Users/user/Desktop/proga/R/Lagutin/9/35.txt")
x=unlist(x)
x35=unlist(x35)
for( i in 1:100){
if (x[i]<=0.2){
x[i]=0
}
}
for( i in 1:100){
if (x35[i]<=0){
x35[i]=0
}
}
i1=-log(1-x35)
i2=-(log(1-x)-0.2)
ros.test=function(x,y)... |
32eaea0a698b5bcb4836c4af29d5c38cd854cf2e | 56b87d81fe06642a77955c0f79e6236bc01bc44c | /R/mixIndependK.R | 03d3ce344c3655891841241a020a536fe1bdf0c9 | [] | no_license | ice4prince/mixIndependR | ab8940b768f08ef5409ebacc082a884306033ab9 | 21041d4b857e0dc92ba00a5869c818304777e20e | refs/heads/main | 2023-03-23T07:08:49.742812 | 2021-03-22T08:44:12 | 2021-03-22T08:44:12 | 315,141,861 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,513 | r | mixIndependK.R | #'Quick pvalue of total number of heterozygous loci
#'@details This function is a summary of pipeline for number of heterozygous loci (K), and generates the p-value of K for the target dataset.
#'@usage mixIndependK(x,sep,t,B)
#'@param x a dataset of alleles. Each row denotes each individual.One allele in one cell.In t... |
c4216f8143f617c85dd0d9765bf5a11b76bf0fb6 | de716bfe81c712e0404ea799096c53bdecd39437 | /app.R | b6ee127357e003f0212a59b8cc56ec1c29cbfbbf | [] | no_license | usfviz/elisesong-hw3 | 041c7579e04681bc603db3232b32a545fa882fe8 | d793a0bcd3c08b99ded2f3d9a17c92b7059b2b19 | refs/heads/master | 2021-01-19T22:59:19.493862 | 2017-05-08T17:49:11 | 2017-05-08T17:49:11 | 88,901,260 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,399 | r | app.R | rm(list = ls())
cat("\014")
if (!require(GGally))
{
install.packages("GGally")
}
if (!require(plotly))
{
install.packages("plotly")
}
library("shiny")
library("ggplot2")
library("GGally")
library("plotly")
#setwd("/Users/Elise/DataViz/HW3")
df <- read.csv("dataset_Facebook.csv", sep=";", header=T)
ui <- fluidP... |
c329a977e0c49b73ecaca876d3ac8081c6c1d862 | 2e0043e367ea1b79809990ac65b9a4e2e347a57c | /Keras/mango1.R | 8773d1d024666721095b257ce53cabda1eb57aa5 | [] | no_license | anhnguyendepocen/DataScienceWithR | 506e4a689071c913b219307a685949ff4377dc7f | 3579210d701b7bcd15ba1e9c64ef89bb1e3dd9ed | refs/heads/master | 2021-05-26T03:12:13.515462 | 2019-12-17T10:31:13 | 2019-12-17T10:31:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 712 | r | mango1.R | #Erum Day 1
library(keras)
library(caret)
library(recipes)
library(rsample)
use_session_with_seed(06061979)
use_session_with_seed(6061979)
###########
y <- iris[,5]
X <- iris[1:4,]
iris <- initial_split(iris,prop=0.8, strata = "Species")
fullData <-list(train = training(iris),test = testing(iris) )
irisRecipe <- r... |
d2e54a2fe6a8511eb18bdbc1250146db825f86dc | 3cd0cfd6944b5083ab48dc7a48d04d07d9bc6d2a | /cachematrix.R | 3a6ffee7e2aa4a57b4472ff7e11bd42de3269184 | [] | no_license | erikvh/ProgrammingAssignment2 | 56886fc93af32163d81ee8d26c197698eee7b0a6 | 30f742c25e47699624661f26ec3f969ff582699f | refs/heads/master | 2020-12-29T00:41:44.001084 | 2015-05-23T12:15:17 | 2015-05-23T12:15:17 | 36,015,291 | 0 | 0 | null | 2015-05-21T13:47:46 | 2015-05-21T13:47:42 | R | UTF-8 | R | false | false | 2,039 | r | cachematrix.R | # To reduce computation cost of repeatedly computing the inverse of a matrix,
# you can take advantage of caching the result.
# By using the following 2 functions you can do so: Cache the inverse of a Matrix.
# The first function makeCacheMatrix create a list of functions to:
# 1. Set the value of the matrix
# 2. Get... |
800e49d46d429e9eb4ac60f9f74fb085266ba290 | 021498dd1ed1eb755575e7dfbc8b8f9fae927831 | /man/GMLAbstractGeneralOperationParameter.Rd | 0c9c29d7cc18fe1b8e0c59969f65671bd27e084d | [] | no_license | 65MO/geometa | f75fb2903a4f3633a5fcdd4259fd99f903189459 | c49579eb5b2b994c234d19c3a30c5dad9bb25303 | refs/heads/master | 2020-04-08T12:22:44.690962 | 2018-11-22T22:51:57 | 2018-11-22T22:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,322 | rd | GMLAbstractGeneralOperationParameter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GMLAbstractGeneralOperationParameter.R
\docType{class}
\name{GMLAbstractGeneralOperationParameter}
\alias{GMLAbstractGeneralOperationParameter}
\title{GMLAbstractGeneralOperationParameter}
\format{\code{\link{R6Class}} object.}
\usage{
GMLAbs... |
c88e8109733be64d86967d08f11bc64d61a44ae9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/merTools/examples/REsdExtract.Rd.R | 35545c988b2da447b53ae2e0d1b20d43b0515074 | [] | 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 | 256 | r | REsdExtract.Rd.R | library(merTools)
### Name: REsdExtract
### Title: Extract the standard deviation of the random effects from a
### merMod object
### Aliases: REsdExtract
### ** Examples
fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
REsdExtract(fm1)
|
5419ffec30a4f4746e41e050ed01de58ceb84da8 | 09f85541cd4c7247678046ffca87252c3f68b018 | /R/boxfun.R | 5157b7fb8bf300dae1004dc1d7ae0c2ff99a8cfb | [] | no_license | cran/prim | 00e281bb8d680ad3609384491f9ee7a6e1e64d0b | 1db1e4613b6c30c53242eb8adc6147a0e5805c7c | refs/heads/master | 2023-01-13T02:57:18.395228 | 2023-01-06T17:50:35 | 2023-01-06T17:50:35 | 17,698,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,825 | r | boxfun.R |
####################################################################
### Find points of x that are in a single box
###
### Parameters
### x - data matrix
### ranges - matrix of min and max values which define a box
### d - dimension of data
###
### Returns
### Data points which lie within the box
###################... |
8cd6f63f4fafba51fd69a2fff3a876bb4745d4b7 | b774f1b284654480f4daa64c13d5d1801c63da5d | /man/create_design.Rd | 8263ad58bb6ab370da97b6c2200b6e9eed2cf46a | [] | no_license | cran/casen | 80f04e7edf5824de774011527dca33045a2b764a | 58f3386a618b4ab4446f84a446d1696776f613dc | refs/heads/master | 2022-09-30T08:52:41.563159 | 2022-09-04T22:20:05 | 2022-09-04T22:20:05 | 249,201,245 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,117 | rd | create_design.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internals.R
\name{create_design}
\alias{create_design}
\title{Crea un objeto de disenio complejo a partir de un data frame}
\usage{
create_design(d, variable, agrupacion, peso, conglomerado, estrato)
}
\arguments{
\item{d}{un data.frame o tib... |
81c453285db28d8b0a1dad68abff03b432855bc8 | f530a6debb078426b7d2f07462bc090ad164ea24 | /nest_predation_MA.R | 062d5e77e29e80c48f50327376b00ae065221db0 | [
"MIT"
] | permissive | balint-cyber/nest_predation_MA | fc38a0ffaa5c86d9dc484fe0a2e942dffde9ae87 | 30f8a7cdfa78a85335cb8e01bfd679a7f42f8d83 | refs/heads/master | 2021-06-13T12:12:10.944725 | 2017-04-02T12:05:49 | 2017-04-02T12:05:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84,667 | r | nest_predation_MA.R | # R script by Malgorzata Lagisz
# for "Does urbanization affect predation of bird nests? A meta-analysis"
# by Ernő Vincze, Gábor Seress, Malgorzata Lagisz, Shinichi Nakagawa, Niels Dingemanse, Philipp Sprau
# Accepted for journal: "Frontiers in Ecology and Evolution", 2017
# LICERNSE
# The MIT License (MIT)
#
# Co... |
73b1830db362af2287866f3ee263cbf5791b1451 | 3648369d01c8a80107c3a05c6a79ff8c2bd9f033 | /R-scripts/2_Modeling_richness.R | 7eb31c77a30526104ff6baa546438d1f2f1a2b12 | [] | no_license | KIT-IfGG/SpeciesRichness-GLMvsRF-LiDAR | 86fe025dea9fb9a639c0798fb5d8068841b266ad | db8f06190ca51b3c3f90bdedab4faba49c2488bb | refs/heads/master | 2021-01-18T15:41:56.669178 | 2017-07-19T11:48:01 | 2017-07-19T11:48:01 | 63,490,766 | 0 | 1 | null | 2017-07-19T11:48:02 | 2016-07-16T16:02:06 | Jupyter Notebook | UTF-8 | R | false | false | 11,581 | r | 2_Modeling_richness.R | ## R-Script - modeling species richness
## author: Javier Lopatin
## mail:javierlopatin@gmail.com
## Manuscript: Comparing Generalized Linear Models and random forest to model vascular plant species richness using LiDAR data in a natural forest in central Chile
## last changes: 12/11/2015
library(lme4)
library(hier.pa... |
23fc0657f3f753043b53540e394eed00e89f63da | 70ab8814c14fa2350f1b69ba5254eb7936712c52 | /Pol initial condition.R | 5eb0183d134f731de12627d9e9d6ab19f9973656 | [] | no_license | MikawaFumika/Lattice_KMC_Polymerase-DNA-movement-simulation | b3e95e19d725a60ee067f02b68754064d7e71be8 | bef5b6bfbd73e26bc7610113fd795781615fb587 | refs/heads/main | 2023-03-22T17:58:25.238203 | 2021-03-18T11:17:52 | 2021-03-18T11:17:52 | 331,918,951 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,961 | r | Pol initial condition.R | #simulation for
#difine matrix and initial condition
size=30
kbt=1
kp=1
polprob=0.1
totalpol=0
indexpoli=c()
indexpolj=c()
indexpol=0
lattice_1=matrix(nrow=size, ncol=size)
lattice_2=matrix(nrow=size, ncol=size)
heatmaplattice=matrix(nrow=size, ncol=size)
for(i in 1:size)
{
for(j in 1:size)
{
heatmaplattic... |
20465640b5dc84473722ac1909661aceb17b0a58 | 28c1da5514d52311051520abbb3babc8b775a881 | /RnBeads/r-packages/RnBeads/man/rnb.plot.ct.heatmap.Rd | 2da160678f8d74a01607627f749c8901c531e177 | [
"MIT"
] | permissive | relshire/epiGBS | d60bcca37f58139c5e2a2542f5170b0d713e4517 | 78e495a642a8b86c08041d69cd854a7be2b263c8 | refs/heads/master | 2020-12-30T21:50:44.842966 | 2019-09-04T00:24:28 | 2019-09-04T00:24:28 | 59,452,648 | 0 | 0 | MIT | 2019-09-04T00:24:29 | 2016-05-23T04:46:20 | R | UTF-8 | R | false | false | 819 | rd | rnb.plot.ct.heatmap.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{rnb.plot.ct.heatmap}
\alias{rnb.plot.ct.heatmap}
\title{rnb.plot.ct.heatmap}
\usage{
rnb.plot.ct.heatmap(ct.obj, type = "nonnegative", writeToFile = FALSE, ...)
}
\arguments{
\item{ct.obj}{Object of class \code{CellTypeInferenceResult} as returned by \link{rnb.... |
7162f503505bf1ed1b8af7345fb76f1925546a6a | 2faa4567a89b3cbf3ee2fba8578942876c38417b | /Visualisation.R | 850742d757cf9cab587feab99ed8f60246df5608 | [] | no_license | SufyanIqbal1/RTraining | 53cc9302df80636d9fbd69fa6bd9a80607eff082 | 016ce28b558b79758aa595ff6f252df74df8fd6e | refs/heads/master | 2021-01-17T18:13:10.869428 | 2017-06-27T09:58:49 | 2017-06-27T09:58:49 | 95,544,176 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 204 | r | Visualisation.R | require(graphics)
pairs(OrchardSprays, main = "OrchardSprays data")
#print (max(OrchardSprays["decrease"]))
s<- rbind(OrchardSprays)
print(s[which.max(s[,1]),])
#View(OrchardSprays)
|
8faf2d47406de37dc8edd4cd84a5a987de0f273a | b022572938addca6df3c51709ac2654855c238db | /oneTimeDataPreparation.R | 3bc702fbcab33d61beffe51a51bcd290a5a48e4a | [
"MIT"
] | permissive | vojtechhuser/Athenian | 9d50f7f358c53af7f2d50f2fc33231d8d8cc4d94 | 4d750ed5d57ecda4d82800cd16a7dd4f48949829 | refs/heads/master | 2021-04-30T04:31:30.089290 | 2020-05-12T23:09:25 | 2020-05-12T23:09:25 | 121,537,235 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,337 | r | oneTimeDataPreparation.R |
#athena_folder is expected to contain files parsed athena CSV files
athena_folder='n:/athena'
library(tidyverse)
library(magrittr)
concept <-read.delim(file.path(athena_folder,'concept.csv'),as.is=T,quote = "")
#save(concept,file = file.path(athena_folder,'concept.rda'))
vocabulary <-re... |
38da956093acc3b8cb96112430903bd99a673a86 | 34aacdad79d993e55eca4da3c1cc40423dd86738 | /scenarios/prep_types_paris.R | 10916b91d37f682b6b8ad1a819a1faa12dc342fe | [] | no_license | bfrggit/R-sc | 1d5cb37915bed8f325c0ad299f2c77dbb7b4ce96 | 0ca0a9c1c3c27226ab383df96911836758898779 | refs/heads/master | 2020-04-20T22:31:15.788936 | 2019-01-17T00:06:46 | 2019-01-17T00:06:46 | 169,142,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 734 | r | prep_types_paris.R | #!/usr/bin/env Rscript
#
# prep_types_paris.R
#
# Created: 2019-01-03
# Updated: 2019-01-08
# Author: Charles Zhu
#
# as always, run this script from the project root
rm(list = ls())
NUM_TYPES = 8L
lockBinding("NUM_TYPES", globalenv())
sensor_type_period <- c(28L, 123L, 61L, 56L, 45L, 42L, 31L, 31L)
sensor_type_cal... |
28b1faf49a274b0fa6bc32fc91b7af6c761c033c | 34e1f0cdf5f2abf3416233705ac67dfb0d0b2a73 | /code/01a_enrichment_RAP.R | 181c9f63805ec4269d1c749382fddc768fc15f3a | [] | no_license | munschauerlab/SCoV2-proteome-atlas | fc9d82302f4d0700302aa96e4c899394c567d566 | c2f4b234e920159c0b5760d31493db8d7780f72d | refs/heads/master | 2023-06-23T02:50:05.119503 | 2023-06-20T17:23:41 | 2023-06-20T17:23:41 | 273,319,036 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,458 | r | 01a_enrichment_RAP.R | library(data.table)
library(dplyr)
library(Matrix)
library(BuenColors)
library(network)
# Import database
if(!exists("string_v11")){
source('00_string_v11.R')
}
# Import gene names
rap <- fread("../data/SCoV2_RAPms.txt")
rap_filt <- rap%>%
filter(adj.P.Val.SCoV2.over.RMRP < 0.2 & species == "HOMO SAPIENS" & log... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.